Skip to content
Snippets Groups Projects
Commit 012c06e8 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: sorted directories when importing

parent ad035cce
No related branches found
No related tags found
1 merge request!67🚑 sorted directories when importing
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
History History
======= =======
13.3.0
------
Sort subdirectories when importing files. This was supposed to be the case but was not done correctly.
13.2.0 13.2.0
------ ------
......
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
for root, subdirectories, files in os.walk( for root, subdirectories, files in os.walk(
directory, followlinks=True directory, followlinks=True
): ):
subdirectories.sort()
file_list.extend(os.path.join(root, f) for f in sorted(files)) file_list.extend(os.path.join(root, f) for f in sorted(files))
for filename in file_list: for filename in file_list:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment