From 2d7a02f2ffd36e880a1e61394bd8bfce5a6b9f23 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Thu, 16 Jun 2016 19:44:57 +0800 Subject: [PATCH] Fix a missing i18n support in security_group_rule.py Change-Id: Id1459366ccf894275a11c2af840568d4fd114e18 --- openstackclient/network/v2/security_group_rule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstackclient/network/v2/security_group_rule.py b/openstackclient/network/v2/security_group_rule.py index 18863223ae..e3be44ece7 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