minor revert (it's illegal to use append for updating one array with another array)

This commit is contained in:
Miroslav Stampar 2011-07-12 19:34:54 +00:00
parent 48b7245a33
commit 0126b8eb0e

View File

@ -582,8 +582,7 @@ def dictionaryAttack(attack_dict):
warnMsg = "user aborted during dictionary attack phase"
logger.warn(warnMsg)
if retVal:
results.append([retVal.get() for i in xrange(retVal.qsize())])
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
clearConsoleLine()
@ -650,8 +649,7 @@ def dictionaryAttack(attack_dict):
warnMsg = "user aborted during dictionary attack phase"
logger.warn(warnMsg)
if retVal:
results.append([retVal.get() for i in xrange(retVal.qsize())])
results.extend([retVal.get() for i in xrange(retVal.qsize())] if retVal else [])
clearConsoleLine()