diff --git a/neo/storage/handlers/client.py b/neo/storage/handlers/client.py index 084d44e664e120cdbf0a22acded677a1e743eeef..6f483f5a3a67253b8269610c7e37ca247e8a0e13 100644 --- a/neo/storage/handlers/client.py +++ b/neo/storage/handlers/client.py @@ -62,6 +62,7 @@ class ClientOperationHandler(BaseClientAndStorageOperationHandler): for o in t.getObjectList(): oid = o[0] # TODO: remove try..except: pass + # XXX: we release locks without checking if tid owns them try: del app.store_lock_dict[oid] del app.load_lock_dict[oid] @@ -95,6 +96,7 @@ class ClientOperationHandler(BaseClientAndStorageOperationHandler): for o in object_list: oid = o[0] # TODO: remove try..except: pass + # XXX: we release locks without checking if tid owns them try: del app.load_lock_dict[oid] except KeyError: