diff -r 99c18d3f9542 -r ee6362b4618d hooks/integrity.py --- 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):