]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Adding a function prefix before parenthesis
authorManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Fri, 6 Nov 2015 16:48:05 +0000 (16:48 +0000)
committerManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Sat, 7 Nov 2015 18:37:14 +0000 (18:37 +0000)
Add a missing translation _ before parenthesis as it is done in defining
all exception messages.

Change-Id: Id80b4bf083d357d6c99006116e453d8b63fbc876

neutron/extensions/securitygroup.py

index d120789fac2ccc08afef41380b8c537dd2f67af5..018f704420c561aa1d0081d9b790d9eec257d0af 100644 (file)
@@ -45,8 +45,8 @@ class SecurityGroupInvalidIcmpValue(nexception.InvalidInput):
 
 
 class SecurityGroupEthertypeConflictWithProtocol(nexception.InvalidInput):
-    message = ("Invalid ethertype %(ethertype)s for protocol "
-               "%(protocol)s .")
+    message = _("Invalid ethertype %(ethertype)s for protocol "
+                "%(protocol)s.")
 
 
 class SecurityGroupMissingIcmpType(nexception.InvalidInput):