Change extension module naming to a shorter one
This patch changes extension suffix from 'python_cinderclient_ext' to 'cinderclient_ext' to get more shorter module names. Change-Id: Id78e05646d2bc4fda758710eb630dca5eefa457f
This commit is contained in:
parent
aa06b2dd54
commit
ef7485df77
@ -590,7 +590,7 @@ def discover_extensions(version):
|
||||
|
||||
def _discover_via_python_path():
|
||||
for (module_loader, name, ispkg) in pkgutil.iter_modules():
|
||||
if name.endswith('python_cinderclient_ext'):
|
||||
if name.endswith('cinderclient_ext'):
|
||||
if not hasattr(module_loader, 'load_module'):
|
||||
# Python 2.6 compat: actually get an ImpImporter obj
|
||||
module_loader = module_loader.find_module(name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user