fat16copy: Sort new directory entries. am: 567c5d0f95
am: cf24e4b85f
Change-Id: I109b9e0d9f9e3bf6851b575a3b9576282b851c0a
This commit is contained in:
commit
3c6bf619ac
|
@ -787,7 +787,7 @@ def add_item(directory, item):
|
|||
if len(base) == 0:
|
||||
base = os.path.basename(item[:-1])
|
||||
sub = directory.new_subdirectory(base)
|
||||
for next_item in os.listdir(item):
|
||||
for next_item in sorted(os.listdir(item)):
|
||||
add_item(sub, os.path.join(item, next_item))
|
||||
else:
|
||||
with open(item, 'rb') as f:
|
||||
|
|
Loading…
Reference in New Issue