This commit is contained in:
Miroslav Stampar
2016-06-10 18:02:24 +02:00
parent c6eec8db97
commit 8ca45c5678
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
kb.threadException = False
for lock in kb.locks.values():
if lock.locked_lock():
if lock.locked():
try:
lock.release()
except thread.error: