Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acantril committed Oct 24, 2021
1 parent 3cf8691 commit 1b16ac7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Resources:
for key in {x['Key'] for page in page_iterator for x in page['Contents']}:
dest_key = os.path.join(prefix, os.path.relpath(key, source_prefix))
if not key.endswith('/'):
print 'copy {} to {}'.format(key, dest_key)
print ('copy {} to {}'.format(key, dest_key))
client.copy_object(CopySource={'Bucket': source_bucket, 'Key': key}, Bucket=bucket, Key = dest_key)
return cfnresponse.SUCCESS
Expand Down

0 comments on commit 1b16ac7

Please sign in to comment.