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:
1 parent
099856e184
commit
dc4109c1a4
1 file changed
+1
-1
@@ -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 = """
|
||||
|
||||
Reference in new issue
Block a user