From 086c3a36620ea57d39026cff0bac9e7bbb3fe280 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 23 Feb 2012 13:31:50 +0000 Subject: [PATCH] minor fix --- 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 b5a0c8570..3819fd69b 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -196,7 +196,7 @@ def errorUse(expression, expected=None, dump=False): startLimit = 0 stopLimit = None output = None - outputs = [] + outputs = None untilLimitChar = None _, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(expression) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 1e0def827..486d1c480 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -143,7 +143,7 @@ def unionUse(expression, unpack=True, dump=False): origExpr = expression startLimit = 0 stopLimit = None - value = "" + value = None width = getConsoleWidth() start = time.time()