From: gongysh Date: Mon, 7 Jan 2013 01:52:29 +0000 (+0800) Subject: Fix the replacement placeholder in string X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5f0aead4e4c42f16b0f32870bd7fa952d219945b;p=openstack-build%2Fneutron-build.git Fix the replacement placeholder in string Bug #1096721 Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d --- diff --git a/quantum/db/l3_db.py b/quantum/db/l3_db.py index 24717a88c..576e62c9d 100644 --- a/quantum/db/l3_db.py +++ b/quantum/db/l3_db.py @@ -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