Skip to content

Commit cfa2cd7

Browse files
committed
Minor change
1 parent af0320e commit cfa2cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/copier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def copy_file(self, file_info, overwrite, dryrun):
103103
file_info[SKIPPED] = False
104104
#self.log.info(f'Copying from {org_url} to s3://{self.bucket_name}/{key.strip("/")} ...')
105105
self.log.info(f'Copying from {org_url} to destination folder in S3 bucket ...')
106-
dest_size = self._upload_obj(org_url, key, org_size)
106+
dest_size, msg = self._upload_obj(org_url, key, org_size)
107107
if dest_size != org_size:
108108
self.log.error(f'Uploading “{file_name}” failed - uploading was not complete. Please try again and contact the helpdesk if this error persists.')
109109
return {self.STATUS: False}

0 commit comments

Comments
 (0)