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:
parent
ee48144fea
commit
38927b7c8f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user