summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/pluginmanager.py
diff options
context:
space:
mode:
authorAndrew Bogott <abogott@wikimedia.org>2012-07-08 05:54:40 -0500
committerAndrew Bogott <abogott@wikimedia.org>2012-07-08 05:56:21 -0500
commit57821de9eab66344d14b45e5a14f2e52a23af8be (patch)
tree541d5048d8cbb1778077eec5df09de79cf5f5588 /openstack/common/plugin/pluginmanager.py
parent289a0b328b96693944faf69b43124d4449cdbded (diff)
downloadoslo-57821de9eab66344d14b45e5a14f2e52a23af8be.tar.gz
oslo-57821de9eab66344d14b45e5a14f2e52a23af8be.tar.xz
oslo-57821de9eab66344d14b45e5a14f2e52a23af8be.zip
pep8 cleanup in the plugin code
The nova hacking test turned up one alphabetization error that I missed previously. Also, our path-altering process caused one line to exceed 80 characters when copied into nova; that line is shorter now. Change-Id: Ia3acfc25ecc5ba388526766dae3ed03792e906e3
Diffstat (limited to 'openstack/common/plugin/pluginmanager.py')
-rw-r--r--openstack/common/plugin/pluginmanager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/plugin/pluginmanager.py b/openstack/common/plugin/pluginmanager.py
index 0095135..2e3d497 100644
--- a/openstack/common/plugin/pluginmanager.py
+++ b/openstack/common/plugin/pluginmanager.py
@@ -57,7 +57,8 @@ class PluginManager(object):
if not hasattr(CONF, "list_notifier_drivers"):
CONF.list_notifier_drivers = []
old_notifier = CONF.notification_driver
- CONF.notification_driver = 'openstack.common.notifier.list_notifier'
+ drvstring = 'openstack.common.notifier.list_notifier'
+ CONF.notification_driver = drvstring
if (old_notifier and
old_notifier != 'openstack.common.notifier.list_notifier'):
list_notifier.add_driver(old_notifier)