Skip to content

Commit 2d7a02f

Browse files
author
Huanxuan Ao
committed
Fix a missing i18n support in security_group_rule.py
Change-Id: Id1459366ccf894275a11c2af840568d4fd114e18
1 parent 7cda2b2 commit 2d7a02f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/network/v2/security_group_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ def take_action_compute(self, client, parsed_args):
526526
break
527527

528528
if obj is None:
529-
msg = _("Could not find security group rule with ID ") + \
530-
parsed_args.rule
529+
msg = _("Could not find security group rule "
530+
"with ID '%s'") % parsed_args.rule
531531
raise exceptions.CommandError(msg)
532532

533533
# NOTE(rtheis): Format security group rule

0 commit comments

Comments
 (0)