Merge ":Add missing %s in print message"

This commit is contained in:
Jenkins 2016-07-27 15:08:38 +00:00 committed by Gerrit Code Review
commit bca79faba3
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ class InvalidGlobalAPIVersion(Invalid):
class ApiVersionsIntersect(Invalid):
msg_fmt = _("Version of %(name) %(min_ver) %(max_ver) intersects "
msg_fmt = _("Version of %(name)s %(min_ver)s %(max_ver)s intersects "
"with another versions.")

View File

@ -83,7 +83,7 @@ class CryptsetupEncryptor(base.VolumeEncryptor):
# normal disk or multipath device), exit_code will be 1. In the
# case, we will omit the warning message.
if e.exit_code != 1:
LOG.warning(_LW('cryptsetup status %(dev_name) exited '
LOG.warning(_LW('cryptsetup status %(dev_name)s exited '
'abnormally (status %(exit_code)s): %(err)s'),
{"dev_name": dev_name, "exit_code": e.exit_code,
"err": e.stderr})