operator fix

This commit is contained in:
Miroslav Stampar 2010-05-23 21:35:42 +00:00
parent 7dc1bf0324
commit 2c2d6d3623

View File

@ -180,7 +180,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if maxValue == 1: if maxValue == 1:
return None return None
elif minValue == maxChar: elif minValue == maxChar:
asciiTbl = range( maxChar + 1, (maxChar + 1) * 8 ) asciiTbl = range( maxChar + 1, (maxChar + 1) << 8 )
maxChar = maxValue = asciiTbl[-1] maxChar = maxValue = asciiTbl[-1]
minValue = asciiTbl[0] minValue = asciiTbl[0]
else: else: