]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix the replacement placeholder in string
authorgongysh <gongysh@cn.ibm.com>
Mon, 7 Jan 2013 01:52:29 +0000 (09:52 +0800)
committergongysh <gongysh@cn.ibm.com>
Mon, 7 Jan 2013 02:14:29 +0000 (10:14 +0800)
Bug #1096721

Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d

quantum/db/l3_db.py

index 24717a88c73b4f659f2764806cd0e067cfffef24..576e62c9db907c9b3186eb447a991d0e6107cb55 100644 (file)
@@ -286,7 +286,7 @@ class L3_NAT_db_mixin(l3.RouterPluginBase):
                     if match1 or match2:
                         msg = (_("Cidr %(subnet_cidr)s of subnet "
                                  "%(subnet_id)s overlaps with cidr %(cidr)s "
-                                 " of subnet %(sub_id)") % locals())
+                                 "of subnet %(sub_id)s") % locals())
                         raise q_exc.BadRequest(resource='router', msg=msg)
         except exc.NoResultFound:
             pass