From dc4109c1a459919474dfb9c01996571d7fd5eae4 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 5 Jan 2018 11:43:59 +0100 Subject: [PATCH] Sort external schema files get_all_external_schema_files() now returns schema files sorted. Fixes: https://pagure.io/freeipa/issue/7338 Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy --- ipaserver/install/dsinstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 892057a5d..f1c866136 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -185,7 +185,7 @@ def get_all_external_schema_files(root): for name in files: if fnmatch.fnmatch(name, "*.ldif"): f.append(os.path.join(path, name)) - return f + return sorted(f) INF_TEMPLATE = """