adopt namespace-less oslo imports
Changing the leftovers that I found with latest code. Initial review link: https://review.openstack.org/#/c/147215/ Change-Id: I5adbed9bbe9cb6e819dd2a8a72e7fbeee06fbf00 Closes-bug: #1423389
This commit is contained in:
parent
dbc37e87a5
commit
dce830671c
@ -97,7 +97,7 @@ def filter_command(exec_name, filters_path, user_args, exec_dirs):
|
|||||||
if os.path.exists(os.path.join(possible_topdir, "neutron", "__init__.py")):
|
if os.path.exists(os.path.join(possible_topdir, "neutron", "__init__.py")):
|
||||||
sys.path.insert(0, possible_topdir)
|
sys.path.insert(0, possible_topdir)
|
||||||
|
|
||||||
from oslo.rootwrap import wrapper
|
from oslo_rootwrap import wrapper
|
||||||
|
|
||||||
# Execute command if it matches any of the loaded filters
|
# Execute command if it matches any of the loaded filters
|
||||||
filters = wrapper.load_filters(filters_path)
|
filters = wrapper.load_filters(filters_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user