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

This commit is contained in:
Felix Fontein 2018-05-25 05:48:59 +02:00 committed by Adam Miller
parent 749e67fdf8
commit 2a29b2ff7f

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,