just in case as maybe there will be some boolean expression to check where we won't expect None, but explicitly True/False

This commit is contained in:
Miroslav Stampar 2010-12-14 09:05:00 +00:00
parent 4c6e902471
commit 270ae0f080

View File

@ -502,5 +502,5 @@ def goStacked(expression, silent=False):
return payload, page
def checkBooleanExpression(expression):
return getValue(unescaper.unescape(expression), expected=EXPECTED.BOOL, suppressOutput=True, expectingNone=True)
def checkBooleanExpression(expression, expectingNone=True):
return getValue(unescaper.unescape(expression), expected=EXPECTED.BOOL, suppressOutput=True, expectingNone=expectingNone)