From 5f0aead4e4c42f16b0f32870bd7fa952d219945b Mon Sep 17 00:00:00 2001 From: gongysh Date: Mon, 7 Jan 2013 09:52:29 +0800 Subject: [PATCH] Fix the replacement placeholder in string Bug #1096721 Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d --- quantum/db/l3_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/db/l3_db.py b/quantum/db/l3_db.py index 24717a88c73..576e62c9db9 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