summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-05 12:43:27 -0700
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-05 12:43:27 -0700
commit2a329ff0734bc4413723322e289a0ac486ed7e2f (patch)
tree0270afea7aa926bffccd7e75a4a6270ea38c9fc1 /nova/api
parent2fe0c5fe95487df8827db10f38065e3c8ac3800f (diff)
downloadnova-2a329ff0734bc4413723322e289a0ac486ed7e2f.tar.gz
nova-2a329ff0734bc4413723322e289a0ac486ed7e2f.tar.xz
nova-2a329ff0734bc4413723322e289a0ac486ed7e2f.zip
Fixed localization review comment
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/contrib/security_groups.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/contrib/security_groups.py b/nova/api/openstack/contrib/security_groups.py
index e2fed7965..d3a8e21b8 100644
--- a/nova/api/openstack/contrib/security_groups.py
+++ b/nova/api/openstack/contrib/security_groups.py
@@ -203,7 +203,7 @@ class SecurityGroupRulesController(SecurityGroupController):
return exc.HTTPNotFound(explanation=msg)
msg = _("Authorize security group ingress %s")
- LOG.audit(_(msg), security_group['name'], context=context)
+ LOG.audit(msg, security_group['name'], context=context)
try:
values = self._rule_args_to_dict(context,
@@ -330,7 +330,7 @@ class SecurityGroupRulesController(SecurityGroupController):
security_group = db.security_group_get(context, group_id)
msg = _("Revoke security group ingress %s")
- LOG.audit(_(msg), security_group['name'], context=context)
+ LOG.audit(msg, security_group['name'], context=context)
db.security_group_rule_destroy(context, rule['id'])
self.compute_api.trigger_security_group_rules_refresh(context,