Revision 26082b7e lib/locking.py
b/lib/locking.py | ||
---|---|---|
840 | 840 |
if not acquired: |
841 | 841 |
acquired = self.__acquire_unlocked(0, timeout, priority) |
842 | 842 |
|
843 |
if acquired: |
|
843 | 844 |
assert self.__is_exclusive() and not self.__is_sharer(), \ |
844 | 845 |
"Lock wasn't acquired in exclusive mode" |
845 | 846 |
|
846 |
if acquired: |
|
847 | 847 |
self.__deleted = True |
848 | 848 |
self.__exc = None |
849 | 849 |
|
Also available in: Unified diff