race condition may makes this assertion fail, we don't want that stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 08 Feb 2010 13:02:05 +0100
branchstable
changeset 4496 14cbf2570ce8
parent 4489 63128e8b9af9
child 4497 593386221aa7
race condition may makes this assertion fail, we don't want that
server/hooks.py
--- a/server/hooks.py	Mon Feb 08 10:06:40 2010 +0100
+++ b/server/hooks.py	Mon Feb 08 13:02:05 2010 +0100
@@ -58,8 +58,6 @@
     if _UNIQUE_CONSTRAINTS_HOLDER is session:
         _UNIQUE_CONSTRAINTS_HOLDER = None
         _UNIQUE_CONSTRAINTS_LOCK.release()
-    else:
-        assert _UNIQUE_CONSTRAINTS_HOLDER is None
 
 
 def relation_deleted(session, eidfrom, rtype, eidto):