# HG changeset patch # User Sylvain Thénault # Date 1265630525 -3600 # Node ID 14cbf2570ce8f350269e66eb673c1224392f1646 # Parent 63128e8b9af91c7560cf30e5c5c0315909b8ddb4 race condition may makes this assertion fail, we don't want that diff -r 63128e8b9af9 -r 14cbf2570ce8 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):