hooks/integrity.py
changeset 4498 ee6362b4618d
parent 4490 d45cde54d464
child 4517 0f3c10fc42b2
--- a/hooks/integrity.py	Mon Feb 08 12:25:15 2010 +0100
+++ b/hooks/integrity.py	Mon Feb 08 13:05:19 2010 +0100
@@ -48,8 +48,6 @@
     if _UNIQUE_CONSTRAINTS_HOLDER is session:
         _UNIQUE_CONSTRAINTS_HOLDER = None
         _UNIQUE_CONSTRAINTS_LOCK.release()
-    else:
-        assert _UNIQUE_CONSTRAINTS_HOLDER is None
 
 class _ReleaseUniqueConstraintsOperation(hook.Operation):
     def commit_event(self):