From 4466fcbf250feeb0ea7b3b5ff889512cfc4d0292 Mon Sep 17 00:00:00 2001 From: Adrin Jalali Date: Sun, 25 Mar 2018 18:57:14 +0200 Subject: [PATCH] sort the output of set to avoid random orders. --- pelican/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index 98ae39d5..bf6e9c8b 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -473,7 +473,7 @@ def main(): if r.enabled]) logger.warning('No valid files found in content for the active readers:\n' + - '\n'.join(reader_descs)) + '\n'.join(sorted(reader_descs))) if modified['theme'] is None: logger.warning('Empty theme folder. Using `basic` ' @@ -502,7 +502,7 @@ def main(): if r.enabled]) logger.warning('No valid files found in content for the active readers:\n' + - '\n'.join(reader_descs)) + '\n'.join(sorted(reader_descs))) if next(watchers['theme']) is None: logger.warning('Empty theme folder. Using `basic` theme.')