summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-06-16 19:44:57 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-06-21 17:06:59 +0800
commit2d7a02f2ffd36e880a1e61394bd8bfce5a6b9f23 (patch)
tree5786f786a783bc4f6e0e14114033b235b99791bc
parent7cda2b2a066cd45c7aeb9a6d92c1a83e49d48128 (diff)
downloadpython-openstackclient-2d7a02f2ffd36e880a1e61394bd8bfce5a6b9f23.tar.gz
Fix a missing i18n support in security_group_rule.py
Change-Id: Id1459366ccf894275a11c2af840568d4fd114e18
-rw-r--r--openstackclient/network/v2/security_group_rule.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/network/v2/security_group_rule.py b/openstackclient/network/v2/security_group_rule.py
index 18863223..e3be44ec 100644
--- a/openstackclient/network/v2/security_group_rule.py
+++ b/openstackclient/network/v2/security_group_rule.py
@@ -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