Bug fix for boolean (multithreaded Ctrl+C) resumed values

This commit is contained in:
Miroslav Stampar 2013-02-04 15:49:29 +01:00
parent 5e4e863986
commit f4b8a3c1d8
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ ASTERISK_MARKER = "__ASTERISK_MARK__"
PAYLOAD_DELIMITER = "\x00"
CHAR_INFERENCE_MARK = "%c"
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7e-\xff]"
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7f-\xff]"
# Regular expression used for recognition of generic permission messages
PERMISSION_DENIED_REGEX = r"(command|permission|access)\s*(was|is)?\s*denied"

View File

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