[ARVADOS] updated: 2365c0eb0110a56be7a6d8046b499649a1e78148

git at public.curoverse.com git at public.curoverse.com
Tue Mar 3 12:06:35 EST 2015


Summary of changes:
 services/arv-web/arv-web.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  2365c0eb0110a56be7a6d8046b499649a1e78148 (commit)
      from  a380fd23cdfafa399327dfe666c1ef8e94804779 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2365c0eb0110a56be7a6d8046b499649a1e78148
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Mar 3 12:10:09 2015 -0500

    Fixed SafeApi -> ThreadSafeApiCache refs #4823

diff --git a/services/arv-web/arv-web.py b/services/arv-web/arv-web.py
index e731558..482a577 100755
--- a/services/arv-web/arv-web.py
+++ b/services/arv-web/arv-web.py
@@ -5,8 +5,9 @@
 # See http://doc.arvados.org/user/topics/arv-web.html
 
 import arvados
+from arvados.safeapi import ThreadSafeApiCache
 import subprocess
-from arvados_fuse import Operations, SafeApi, CollectionDirectory
+from arvados_fuse import Operations, CollectionDirectory
 import tempfile
 import os
 import llfuse
@@ -32,7 +33,7 @@ class ArvWeb(object):
         self.override_docker_image = docker_image
         self.port = port
         self.evqueue = Queue.Queue()
-        self.api = SafeApi(arvados.config)
+        self.api = ThreadSafeApiCache(arvados.config.settings())
 
         if arvados.util.group_uuid_pattern.match(project) is None:
             raise arvados.errors.ArgumentError("Project uuid is not valid")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list