]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
change seld into self
authorYong Sheng Gong <gongysh@unitedstack.com>
Mon, 21 Oct 2013 15:15:46 +0000 (23:15 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Mon, 21 Oct 2013 15:19:39 +0000 (23:19 +0800)
Closes-Bug #1242745

Change-Id: If5cc2864dc966eacd4cf30757fd1de15d9992629

neutron/db/l3_gwmode_db.py

index 91489274a4f1ad6163ed82be14c6a919ead977a2..a53ee71df4dfac6579b37cd68e3dc2e453a89bcc 100644 (file)
@@ -40,7 +40,7 @@ class L3_NAT_db_mixin(l3_db.L3_NAT_db_mixin):
     db_base_plugin_v2.NeutronDbPluginV2.register_dict_extend_funcs(
         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:
             nw_id = router_db.gw_port['network_id']
             router_res[EXTERNAL_GW_INFO] = {