one more related commit

This commit is contained in:
Miroslav Stampar 2012-03-16 13:16:53 +00:00
parent ac02a2d92c
commit d66056fe39

View File

@ -63,7 +63,9 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if retVal: if retVal:
if PARTIAL_VALUE_MARKER in retVal: if PARTIAL_VALUE_MARKER in retVal:
partialValue = retVal.replace(PARTIAL_VALUE_MARKER, "") retVal = retVal.replace(PARTIAL_VALUE_MARKER, "")
if retVal:
partialValue = retVal
dataToStdout("[%s] [INFO] resuming partial value: '%s'\r\n" % (time.strftime("%X"), safecharencode(partialValue))) dataToStdout("[%s] [INFO] resuming partial value: '%s'\r\n" % (time.strftime("%X"), safecharencode(partialValue)))
else: else:
dataToStdout("[%s] [INFO] resumed: %s\r\n" % (time.strftime("%X"), safecharencode(retVal))) dataToStdout("[%s] [INFO] resumed: %s\r\n" % (time.strftime("%X"), safecharencode(retVal)))