Fix a missing i18n support in security_group_rule.py

Change-Id: Id1459366ccf894275a11c2af840568d4fd114e18
This commit is contained in:
Huanxuan Ao 2016-06-16 19:44:57 +08:00
parent 7cda2b2a06
commit 2d7a02f2ff
1 changed files with 2 additions and 2 deletions

View File

@ -526,8 +526,8 @@ class ShowSecurityGroupRule(common.NetworkAndComputeShowOne):
break
if obj is None:
msg = _("Could not find security group rule with ID ") + \
parsed_args.rule
msg = _("Could not find security group rule "
"with ID '%s'") % parsed_args.rule
raise exceptions.CommandError(msg)
# NOTE(rtheis): Format security group rule