change seld into self
Closes-Bug #1242745 Change-Id: If5cc2864dc966eacd4cf30757fd1de15d9992629
This commit is contained in:
parent
a04e91db98
commit
0dd9315bd5
@ -40,7 +40,7 @@ class L3_NAT_db_mixin(l3_db.L3_NAT_db_mixin):
|
|||||||
db_base_plugin_v2.NeutronDbPluginV2.register_dict_extend_funcs(
|
db_base_plugin_v2.NeutronDbPluginV2.register_dict_extend_funcs(
|
||||||
l3.ROUTERS, ['_extend_router_dict_gw_mode'])
|
l3.ROUTERS, ['_extend_router_dict_gw_mode'])
|
||||||
|
|
||||||
def _extend_router_dict_gw_mode(seld, router_res, router_db):
|
def _extend_router_dict_gw_mode(self, router_res, router_db):
|
||||||
if router_db.gw_port_id:
|
if router_db.gw_port_id:
|
||||||
nw_id = router_db.gw_port['network_id']
|
nw_id = router_db.gw_port['network_id']
|
||||||
router_res[EXTERNAL_GW_INFO] = {
|
router_res[EXTERNAL_GW_INFO] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user