Fix the replacement placeholder in string

Bug #1096721

Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d
This commit is contained in:
gongysh 2013-01-07 09:52:29 +08:00
parent 2a10cd2b6c
commit 5f0aead4e4
1 changed files with 1 additions and 1 deletions

View 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