minor update

This commit is contained in:
Miroslav Stampar committed 2011-10-11 21:58:57 +00:00
1 parent dacfeafc5f
commit a7a29f33ad
2 files changed
+2 -2

No files matched your search

+1 -1
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)
+1 -1
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)