diff options
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}) |
