Minor bug fix

This commit is contained in:
Bernardo Damele 2011-02-03 15:24:36 +00:00
parent a8fea8e4a8
commit 253a8d0679

View File

@ -204,7 +204,7 @@ def unionUse(expression, unescape=True, unpack=True, dump=False):
count = parseUnionPage(count, countedExpression) count = parseUnionPage(count, countedExpression)
if not count or not count.isdigit(): if not count or not count.isdigit():
output = __oneShotUnionUse(countedExpression) output = __oneShotUnionUse(countedExpression, unpack=unpack)
if output: if output:
count = parseUnionPage(output, countedExpression) count = parseUnionPage(output, countedExpression)
@ -239,7 +239,7 @@ def unionUse(expression, unescape=True, unpack=True, dump=False):
output = resume(limitedExpr, None) output = resume(limitedExpr, None)
if not output: if not output:
output = __oneShotUnionUse(limitedExpr, unescape=unescape) output = __oneShotUnionUse(limitedExpr, unescape=unescape, unpack=unpack)
if output: if output:
value += output value += output
@ -251,7 +251,7 @@ def unionUse(expression, unescape=True, unpack=True, dump=False):
logger.warn(warnMsg) logger.warn(warnMsg)
if not value: if not value:
value = __oneShotUnionUse(expression, unescape=unescape) value = __oneShotUnionUse(expression, unescape=unescape, unpack=unpack)
duration = calculateDeltaSeconds(start) duration = calculateDeltaSeconds(start)