Make alias autodetection for symlinked modules independent of glob() order. (#40293) (#41266)

(cherry picked from commit 2a29b2ff7f)
This commit is contained in:
Alicia Cozine 2018-06-07 14:25:10 -05:00 committed by Matt Davis
parent 609c792072
commit 723dcea33e

View file

@ -251,7 +251,7 @@ def get_plugin_info(module_dir, limit_to=None, verbose=False):
module_info[module] = {'path': module_path,
'source': os.path.relpath(module_path, module_dir),
'deprecated': deprecated,
'aliases': set(),
'aliases': module_info[module].get('aliases', set()),
'metadata': metadata,
'doc': doc,
'examples': examples,