Commit b17240d1 authored by Jim Fulton's avatar Jim Fulton

removed an invalid assertion

That was causing test failutes when using the multi-threaded server.
parent dfb0ad2d
...@@ -1284,9 +1284,11 @@ class LockManager(object): ...@@ -1284,9 +1284,11 @@ class LockManager(object):
self._unlocked(locked) self._unlocked(locked)
locked = None locked = None
else:
assert locked.locked
# Note that locked.locked may not be true here, because
# .lock may be set in the lock callback, but may not have
# been set yet. This aspect of the API may need more
# thought. :/
return locked is None return locked is None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment