[ARVADOS] updated: 41694642af159d156751afc7dc964d46e0fd8a81

git at public.curoverse.com git at public.curoverse.com
Thu Nov 19 12:20:42 EST 2015


Summary of changes:
 sdk/python/arvados/events.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  41694642af159d156751afc7dc964d46e0fd8a81 (commit)
      from  73a127e5492bc2711530b2f5a7c30a5021232d40 (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 41694642af159d156751afc7dc964d46e0fd8a81
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Nov 19 12:20:35 2015 -0500

    Hotfix: use a recursive lock for closed_lock so that EventClient.close() can be
    called from on_event(). refs #7654

diff --git a/sdk/python/arvados/events.py b/sdk/python/arvados/events.py
index 410463b..07c6a47 100644
--- a/sdk/python/arvados/events.py
+++ b/sdk/python/arvados/events.py
@@ -29,7 +29,7 @@ class EventClient(WebSocketClient):
         self.filters = filters
         self.on_event = on_event
         self.last_log_id = last_log_id
-        self.closed_lock = threading.Lock()
+        self.closed_lock = threading.RLock()
         self.closed = False
 
     def opened(self):

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list