diff --git a/.pylintrc b/.pylintrc index 25d43edc1d..0c90b4ad3a 100644 --- a/.pylintrc +++ b/.pylintrc @@ -73,7 +73,6 @@ disable= # "R" Refactor recommendations abstract-class-little-used, abstract-class-not-used, - cyclic-import, duplicate-code, interface-not-implemented, no-self-use, diff --git a/neutron/policy.py b/neutron/policy.py index 9181fadff3..3ca112a077 100644 --- a/neutron/policy.py +++ b/neutron/policy.py @@ -299,9 +299,9 @@ class OwnerCheck(policy.Check): # resource is handled by the core plugin. It might be worth # having a way to map resources to plugins so to make this # check more general - # FIXME(ihrachys): if import is put in global, circular + # NOTE(ihrachys): if import is put in global, circular # import failure occurs - from neutron import manager + manager = importutils.import_module('neutron.manager') f = getattr(manager.NeutronManager.get_instance().plugin, 'get_%s' % parent_res) # f *must* exist, if not found it is better to let neutron