Minor patch

This commit is contained in:
Miroslav Stampar 2014-08-22 14:45:23 +02:00
parent e0a8b89069
commit d74b803306

View File

@ -379,10 +379,11 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
warnMsg += ". Falling back to partial UNION technique" warnMsg += ". Falling back to partial UNION technique"
singleTimeWarnMessage(warnMsg) singleTimeWarnMessage(warnMsg)
pushValue(kb.forcePartialUnion)
kb.forcePartialUnion = True kb.forcePartialUnion = True
value = _goUnion(query, unpack, dump) value = _goUnion(query, unpack, dump)
found = (value is not None) or (value is None and expectingNone) found = (value is not None) or (value is None and expectingNone)
kb.forcePartialUnion = False kb.forcePartialUnion = popValue()
else: else:
singleTimeWarnMessage(warnMsg) singleTimeWarnMessage(warnMsg)