diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-04-22 13:35:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-04-22 13:35:28 +0000 |
| commit | 2492387789ece466e19ee1a76ce5f574bfc123e6 (patch) | |
| tree | 206b84ddf2e326980b77d74a4c8633a7034cd091 /openstack/common/plugin/pluginmanager.py | |
| parent | 572bb9ddb720c7cf948906c72be30b022ded0df0 (diff) | |
| parent | 120ddeff7e1b8956fe35a7a39fae87ddcac8301c (diff) | |
| download | oslo-2492387789ece466e19ee1a76ce5f574bfc123e6.tar.gz oslo-2492387789ece466e19ee1a76ce5f574bfc123e6.tar.xz oslo-2492387789ece466e19ee1a76ce5f574bfc123e6.zip | |
Merge "Improve Python 3.x compatibility"
Diffstat (limited to 'openstack/common/plugin/pluginmanager.py')
| -rw-r--r-- | openstack/common/plugin/pluginmanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/plugin/pluginmanager.py b/openstack/common/plugin/pluginmanager.py index c958204..56064dd 100644 --- a/openstack/common/plugin/pluginmanager.py +++ b/openstack/common/plugin/pluginmanager.py @@ -62,7 +62,7 @@ class PluginManager(object): pluginclass = entrypoint.load() plugin = pluginclass(self._service_name) self.plugins.append(plugin) - except Exception, exc: + except Exception as exc: LOG.error(_("Failed to load plugin %(plug)s: %(exc)s") % {'plug': entrypoint, 'exc': exc}) |
