change string syntax

svn: r18518
This commit is contained in:
Paul Franklin
2011-11-27 20:19:44 +00:00
parent 8a11029b30
commit f602306aa7

View File

@@ -401,8 +401,8 @@ class CommandLineReport(object):
self.options_help[name].append(option.get_help()) self.options_help[name].append(option.get_help())
else: else:
print _("Unknown option: %s") % option print _("Unknown option: %s") % option
print (_(" Valid options are:"), print _(" Valid options are:"), ", ".join(
", ".join(self.options_dict.keys())) self.options_dict.keys())
print (_(" Use '%(donottranslate)s' to see description " print (_(" Use '%(donottranslate)s' to see description "
"and acceptable values") % "and acceptable values") %
{'donottranslate' : "show=option"}) {'donottranslate' : "show=option"})
@@ -431,8 +431,8 @@ class CommandLineReport(object):
else: else:
print _("Ignoring unknown option: %s") % opt print _("Ignoring unknown option: %s") % opt
print (_(" Valid options are:"), print _(" Valid options are:"), ", ".join(
", ".join(self.options_dict.keys())) self.options_dict.keys())
print (_(" Use '%(donottranslate)s' to see description " print (_(" Use '%(donottranslate)s' to see description "
"and acceptable values") % "and acceptable values") %
{'donottranslate' : "show=option"}) {'donottranslate' : "show=option"})