Fix the replacement placeholder in string
Bug #1096721 Change-Id: Ief6f410e4532772af3f9775b48ce92ac901f812d
This commit is contained in:
parent
2a10cd2b6c
commit
5f0aead4e4
@ -286,7 +286,7 @@ class L3_NAT_db_mixin(l3.RouterPluginBase):
|
|||||||
if match1 or match2:
|
if match1 or match2:
|
||||||
msg = (_("Cidr %(subnet_cidr)s of subnet "
|
msg = (_("Cidr %(subnet_cidr)s of subnet "
|
||||||
"%(subnet_id)s overlaps with cidr %(cidr)s "
|
"%(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)
|
raise q_exc.BadRequest(resource='router', msg=msg)
|
||||||
except exc.NoResultFound:
|
except exc.NoResultFound:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user