Fix lock debugging broken in 1.7

This commit is contained in:
Kovid Goyal 2013-10-18 18:06:33 +05:30
parent 4c89fcbe74
commit 9854cef7b6

View File

@ -238,7 +238,7 @@ class DebugRWLockWrapper(RWLockWrapper):
print ('acquire done: thread id:', current_thread(), file=sys.stderr)
print ('_' * 120, file=sys.stderr)
def release(self):
def release(self, *args):
print ('*' * 120, file=sys.stderr)
print ('release called: thread id:', current_thread(), 'shared:', self._is_shared, file=sys.stderr)
traceback.print_stack()