Skip to content

Commit

Permalink
remove debugging print
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Oct 24, 2024
1 parent 49edd21 commit 0239db3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def zip_and_upload(s3_host, access_key, secret_key, bucket_name, destination_dir
# zips now placed at top level of backup == local_dir
zip_object_key = os.sep.join([destination_dir, os.path.relpath(f'{local_dir}/collated_{id}.zip', local_dir)])
print(f'zip_object_key: {zip_object_key}', flush=True)
print(namelist, flush=True)
if namelist == []:
print(f'No files to upload in zip file.')
return None, zip_object_key #+' nothing to upload'
Expand Down

0 comments on commit 0239db3

Please sign in to comment.