From 3de6117253d77c1c5d5273609d15af0ca67dfb71 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 9 Feb 2011 09:53:59 +0000 Subject: [PATCH] revert of the r3247 (output always has to be appended to the outputs - no matter of it's value) --- lib/techniques/error/use.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 578ec0b92..c23a5c36a 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -125,8 +125,7 @@ def __errorFields(expression, expressionFields, expressionFieldsList, expected=N if output: output = output.replace(kb.misc.space, " ") - if output is not None: - outputs.append(output) + outputs.append(output) return outputs