--- a/CI/binary-release-pipeline/lambda_publish.py (original) +++ b/CI/binary-release-pipeline/lambda_publish.py (refactored) @@ -39,9 +39,9 @@ prefix = publish_key_prefix, config = config ) - print('Uploading artifacts to https://s3.console.aws.amazon.com/s3/object/{bucket}/{key}'.format( + print(('Uploading artifacts to https://s3.console.aws.amazon.com/s3/object/{bucket}/{key}'.format( bucket = publish_bucket, - key = publish_key)) + key = publish_key))) s3.meta.client.copy( { 'Bucket': input_artifacts[i]['location']['s3Location']['bucketName'],