Update I18N code style

Change: msg = _("Missing parameter: %s") % ("flavor",)
to : msg = _("Missing parameter: %s") % ("flavor")

No need to add comma for flavor.

Change-Id: I4f85954f7584aede86f7dc97fd5f97b709d4ad3d
This commit is contained in:
Jay Lau 2013-07-30 13:57:32 +08:00
parent ee48144fea
commit 38927b7c8f

View File

@ -199,7 +199,7 @@ template string then do the replacement.
Example::
msg = _("Missing parameter: %s") % ("flavor",)
msg = _("Missing parameter: %s") % ("flavor")
LOG.error(msg)
If you have multiple variables to place in the string, use keyword parameters.