Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jul 26, 2024
1 parent 6b12a7a commit b824cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def process_files(s3_host, access_key, secret_key, bucket_name, current_objects,
print(f'Skipping subfolder {folder} - excluded.')
continue
# remove subfolders in exclude list
sub_folders = [sub_folder for sub_folder in sub_folders if sub_folder not in exclude]
sub_folders[:] = [sub_folder for sub_folder in sub_folders if sub_folder not in exclude]

folder_files = [os.sep.join([folder, filename]) for filename in files]
total_filesize = sum([os.stat(filename).st_size for filename in folder_files])
Expand Down

0 comments on commit b824cff

Please sign in to comment.