From a7a29f33ada4beb98f74eab217fb9447bbb52f87 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 11 Oct 2011 21:58:57 +0000 Subject: [PATCH] minor update --- lib/techniques/error/use.py | 2 +- lib/techniques/union/use.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index ec3ce5eb6..bcd3436db 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -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.*?)%s" % (kb.chars.start, kb.chars.stop) trimcheck = "%s(?P.*?)%s.*%s)" % (kb.chars.start, kb.chars.stop) trimcheck = "%s(?P.*?)