Swift logs: don't normalize directories
This strips the trailing / off of directory names, but the rest of the system treats that as information (whether or not to upload the directory itself). Change-Id: Ieda881f5b4976be48eb55109bdb35c3c60641900
This commit is contained in:
parent
691fcc4ff2
commit
1a1fa3c3f1
@ -475,7 +475,6 @@ def run(cloud, container, files,
|
|||||||
|
|
||||||
# Scan the files.
|
# Scan the files.
|
||||||
for file_path in files:
|
for file_path in files:
|
||||||
file_path = os.path.normpath(file_path)
|
|
||||||
file_list.add(file_path)
|
file_list.add(file_path)
|
||||||
|
|
||||||
# (Possibly) make indexes.
|
# (Possibly) make indexes.
|
||||||
|
Loading…
Reference in New Issue
Block a user