cosmetics

This commit is contained in:
Bernardo Damele 2011-04-21 10:17:41 +00:00
parent 11ecd16099
commit 8d8fc2bbd8
3 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ def cmdLineParser():
This function parses the command line parameters and arguments
"""
usage = "%s%s [options]" % ("python " if not IS_WIN else "",\
"\"%s\"" % sys.argv[0] if " " in sys.argv[0] else sys.argv[0])
usage = "%s%s [options]" % ("python " if not IS_WIN else "", \
"\"%s\"" % sys.argv[0] if " " in sys.argv[0] else sys.argv[0])
parser = OptionParser(usage=usage, version=VERSION_STRING)
try:

View File

@ -93,7 +93,7 @@ def __oneShotErrorUse(expression, field):
threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE)
if trimmed:
warnMsg = "possible server trimmed output detected (due to it's length): "
warnMsg = "possible server trimmed output detected (due to its length): "
warnMsg += trimmed
logger.warn(warnMsg)

View File

@ -79,7 +79,7 @@ def __oneShotUnionUse(expression, unpack=True):
if headers else None), payload, True), re.DOTALL | re.IGNORECASE)
if trimmed:
warnMsg = "possible server trimmed output detected (due to it's length): "
warnMsg = "possible server trimmed output detected (due to its length): "
warnMsg += trimmed
logger.warn(warnMsg)