From fcc446e26003f3c95ad2374f19f63efd31e6e30f Mon Sep 17 00:00:00 2001 From: fumihiko kakuma Date: Fri, 2 Aug 2013 13:38:23 +0900 Subject: [PATCH] Rename a variable name _ENGINE to _DB_ENGINE in metaplugin. fixes bug 1206717 Change-Id: I9050021a9198b06d6796098282effd34ecd61710 --- neutron/plugins/metaplugin/meta_neutron_plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron/plugins/metaplugin/meta_neutron_plugin.py b/neutron/plugins/metaplugin/meta_neutron_plugin.py index 58c9f15e8d..01f4941415 100644 --- a/neutron/plugins/metaplugin/meta_neutron_plugin.py +++ b/neutron/plugins/metaplugin/meta_neutron_plugin.py @@ -73,8 +73,8 @@ class MetaPluginV2(db_base_plugin_v2.NeutronDbPluginV2, in cfg.CONF.META.plugin_list.split(',')] for flavor, plugin_provider in plugin_list: self.plugins[flavor] = self._load_plugin(plugin_provider) - # Needed to clear _ENGINE for each plugin - db._ENGINE = None + # Needed to clear _DB_ENGINE for each plugin + db._DB_ENGINE = None self.l3_plugins = {} l3_plugin_list = [plugin_set.split(':') @@ -86,7 +86,7 @@ class MetaPluginV2(db_base_plugin_v2.NeutronDbPluginV2, else: # For l3 only plugin self.l3_plugins[flavor] = self._load_plugin(plugin_provider) - db._ENGINE = None + db._DB_ENGINE = None self.default_flavor = cfg.CONF.META.default_flavor if self.default_flavor not in self.plugins: