Minor refactoring

This commit is contained in:
Miroslav Stampar
2013-01-10 16:09:28 +01:00
parent 1363f26367
commit ec4e49d771
8 changed files with 9 additions and 9 deletions

View File

@@ -423,7 +423,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
abortedFlag = True
finally:
value = map(lambda _: partialValue[_] if _ < len(partialValue) else threadData.shared.value[_], xrange(length))
value = (partialValue[_] if _ < len(partialValue) else threadData.shared.value[_] for _ in xrange(length))
infoMsg = None