6838: report cli crash ignoring an unknown param

Use + for string concatenation rather than passing a tuple to print.

svn: r22593
This commit is contained in:
Vassilii Khachaturov 2013-06-24 18:04:19 +00:00
parent c09c767b26
commit b6f0ab523f

View File

@ -431,7 +431,7 @@ class CommandLineReport(object):
else:
print (_("Ignoring unknown option: %s") % opt).encode(sys.getfilesystemencoding())
print (_(" Valid options are:"), ", ".join(
print (_(" Valid options are:") + ", ".join(
self.options_dict.keys())).encode(sys.getfilesystemencoding())
print (_(" Use '%(donottranslate)s' to see description "
"and acceptable values") %