From 1a1fa3c3f12c1488aa951b2da42b563f61e5efc6 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 30 Jul 2018 15:15:25 -0700 Subject: [PATCH] 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 --- roles/wip-upload-logs-swift/library/zuul_swift_upload.py | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/wip-upload-logs-swift/library/zuul_swift_upload.py b/roles/wip-upload-logs-swift/library/zuul_swift_upload.py index 3478d5c1b..49c6e3d02 100755 --- a/roles/wip-upload-logs-swift/library/zuul_swift_upload.py +++ b/roles/wip-upload-logs-swift/library/zuul_swift_upload.py @@ -475,7 +475,6 @@ def run(cloud, container, files, # Scan the files. for file_path in files: - file_path = os.path.normpath(file_path) file_list.add(file_path) # (Possibly) make indexes.