URL: https://github.com/freeipa/freeipa/pull/1455 Author: tiran Title: #1455: [Backport][ipa-4-6] Sort external schema files Action: opened
PR body: """ This PR was opened automatically because PR #1439 was pushed to master and backport to ipa-4-6 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1455/head:pr1455 git checkout pr1455
From 1c8e3fa945f3873fe3e90cc29584071d4c5244d2 Mon Sep 17 00:00:00 2001 From: Christian Heimes <chei...@redhat.com> 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 <chei...@redhat.com> --- 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 892057a5dd..f1c866136c 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 = """
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org