aboutsummaryrefslogtreecommitdiffstats
path: root/core/loader/loader_servant.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/loader/loader_servant.py')
-rw-r--r--core/loader/loader_servant.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/loader/loader_servant.py b/core/loader/loader_servant.py
index bbb4ea9d..8bad9ab9 100644
--- a/core/loader/loader_servant.py
+++ b/core/loader/loader_servant.py
@@ -86,7 +86,8 @@ class LoaderServant(object):
interface=self._interface)
results = []
- for (name, mod) in list(out.items()):
+ # sort modules to produce the same output everytime
+ for (name, mod) in sorted(out.items()):
desc = (mod.__doc__ or 'No description').strip().split('\n')[0]
results.append((name, desc))