From: Doug Wiegley Date: Mon, 2 Feb 2015 20:27:18 +0000 (-0600) Subject: Backout 152195, which doesn't check the same token that it saves X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9033879e0257d185e930e7927cfd672c85eceaa7;p=openstack-build%2Fneutron-build.git Backout 152195, which doesn't check the same token that it saves Change-Id: Ia98cd4de04100be2a32532a058a31ef8b4df7905 --- diff --git a/neutron/api/extensions.py b/neutron/api/extensions.py index ea045b5ec..b1294e155 100644 --- a/neutron/api/extensions.py +++ b/neutron/api/extensions.py @@ -546,6 +546,7 @@ class ExtensionManager(object): mod_name) continue mod = imp.load_source(mod_name, ext_path) + loaded.append(mod_name) ext_name = mod_name[0].upper() + mod_name[1:] new_ext_class = getattr(mod, ext_name, None) if not new_ext_class: @@ -556,7 +557,6 @@ class ExtensionManager(object): continue new_ext = new_ext_class() self.add_extension(new_ext) - loaded.append(new_ext_class.get_alias()) except Exception as exception: LOG.warn(_LW("Extension file %(f)s wasn't loaded due to " "%(exception)s"),