From 445cc3bf3c6b13eeeae2dc802d5d28ee5d467d5e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 15 Dec 2010 12:15:43 +0000 Subject: [PATCH] minor cosmetics --- lib/request/inject.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index 5f3a25195..5a9ea3d9c 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -401,7 +401,8 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse try: if conf.direct: value = direct(expression) - elif any(test is not None for test in map(isTechniqueAvailable, getPublicTypeMembers(PAYLOAD.TECHNIQUE, onlyValues=True))) or kb.unionTest: + + elif kb.unionTest or any(map(isTechniqueAvailable, getPublicTypeMembers(PAYLOAD.TECHNIQUE, onlyValues=True))): query = cleanQuery(expression) query = expandAsteriskForColumns(query) value = None