From 2a29b2ff7f0cbda712e88331b6f98a5e226000c0 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 25 May 2018 05:48:59 +0200 Subject: [PATCH] Make alias autodetection for symlinked modules independent of glob() order. (#40293) --- docs/bin/plugin_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bin/plugin_formatter.py b/docs/bin/plugin_formatter.py index e181eac409d..5df8b3d86e0 100755 --- a/docs/bin/plugin_formatter.py +++ b/docs/bin/plugin_formatter.py @@ -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,