minor cosmetics

This commit is contained in:
Miroslav Stampar 2010-12-15 12:15:43 +00:00
parent c1c525aaea
commit 445cc3bf3c

View File

@ -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