Fix for an Issue #126

This commit is contained in:
Miroslav Stampar 2012-07-29 17:33:08 +02:00
parent 1669c6bdb4
commit cc2a916716

View File

@ -80,7 +80,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
None) None)
# Automatically patching last char trimming cases # Automatically patching last char trimming cases
if kb.chars.stop not in page and kb.chars.stop[:-1] in page: if kb.chars.stop not in (page or "") and kb.chars.stop[:-1] in (page or ""):
warnMsg = "automatically patching output having last char trimmed" warnMsg = "automatically patching output having last char trimmed"
singleTimeWarnMessage(warnMsg) singleTimeWarnMessage(warnMsg)
page = page.replace(kb.chars.stop[:-1], kb.chars.stop) page = page.replace(kb.chars.stop[:-1], kb.chars.stop)