minor update

This commit is contained in:
Miroslav Stampar 2011-10-11 21:58:57 +00:00
parent dacfeafc5f
commit a7a29f33ad
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ def __oneShotErrorUse(expression, field):
offset = 1
chunk_length = None
if not retVal:
if retVal is None:
while True:
check = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
trimcheck = "%s(?P<result>.*?)</" % (kb.chars.start)

View File

@ -52,7 +52,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
retVal = conf.hashDB.retrieve(expression) if not conf.freshQueries else None
if not retVal:
if retVal is None:
check = "(?P<result>%s.*%s)" % (kb.chars.start, kb.chars.stop)
trimcheck = "%s(?P<result>.*?)</" % (kb.chars.start)