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 <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Christian Heimes committed 2018-01-10 09:39:57 +01:00
1 parent 099856e184
commit dc4109c1a4
1 file changed
+1 -1
+1 -1
View File
@@ -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 = """