Skip to content

Commit

Permalink
Rename a variable name _ENGINE to _DB_ENGINE in metaplugin.
Browse files Browse the repository at this point in the history
fixes bug 1206717

Change-Id: I9050021a9198b06d6796098282effd34ecd61710
  • Loading branch information
fkakuma committed Aug 2, 2013
1 parent 0a21ea9 commit 19cc71d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neutron/plugins/metaplugin/meta_neutron_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def _is_opt_registered(opts, opt):
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(':')
Expand All @@ -86,7 +86,7 @@ def _is_opt_registered(opts, opt):
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:
Expand Down

0 comments on commit 19cc71d

Please sign in to comment.