Minor refactoring

This commit is contained in:
Miroslav Stampar
2012-08-21 10:28:25 +02:00
parent 7a8ace78f9
commit b7415d36df
3 changed files with 4 additions and 4 deletions

View File

@@ -195,7 +195,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
if lock.locked_lock():
lock.release()
if conf.get("hashDB", None):
if conf.get("hashDB"):
conf.hashDB.flush(True)
if cleanupFunction: