From 494503b3347d12a5eb24830b682893cc24ca6a04 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 1 May 2011 08:04:08 +0000 Subject: [PATCH] proper way to deal with generic cases --- lib/core/agent.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/agent.py b/lib/core/agent.py index 55cb141f4..81436c67b 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -499,6 +499,9 @@ class Agent: elif fieldsNoSelect: concatenatedQuery = "'%s'+%s+'%s'" % (kb.misc.start, concatenatedQuery, kb.misc.stop) + else: + concatenatedQuery = query + return concatenatedQuery def forgeInbandQuery(self, query, position, count, comment, prefix, suffix, char, multipleUnions=None):