From e86f7c9d15954255f10c931a08b6c2e81c3bfd27 Mon Sep 17 00:00:00 2001 From: David Freeman Date: Fri, 18 Dec 2020 15:11:20 -0700 Subject: [PATCH] remove malformed debug statements --- stages/publish/create_repo_map_default.py | 1 - stages/publish/create_repo_map_other.py | 1 - stages/publish/s3_upload.py | 1 - 3 files changed, 3 deletions(-) diff --git a/stages/publish/create_repo_map_default.py b/stages/publish/create_repo_map_default.py index 75bdea0a..43516450 100644 --- a/stages/publish/create_repo_map_default.py +++ b/stages/publish/create_repo_map_default.py @@ -26,7 +26,6 @@ def get_repomap(object_name, bucket="ironbank-pipeline-artifacts"): print(object_name) try: response = s3_client.download_file(bucket, object_name, "repo_map.json") - logging.debug(f"S3 download response code: {response.status_code}") except ClientError as e: logging.error(e) print("Existing repo_map.json not found, creating new repo_map.json") diff --git a/stages/publish/create_repo_map_other.py b/stages/publish/create_repo_map_other.py index accbf98b..ca482e1b 100644 --- a/stages/publish/create_repo_map_other.py +++ b/stages/publish/create_repo_map_other.py @@ -26,7 +26,6 @@ def get_repomap(object_name, bucket="ironbank-pipeline-artifacts"): print(object_name) try: response = s3_client.download_file(bucket, object_name, "repo_map.json") - logging.debug(f"S3 download response code: {response.status_code}") except ClientError as e: logging.error(e) print("Existing repo_map.json not found, creating new repo_map.json") diff --git a/stages/publish/s3_upload.py b/stages/publish/s3_upload.py index 6ac95ee9..fb831644 100644 --- a/stages/publish/s3_upload.py +++ b/stages/publish/s3_upload.py @@ -61,7 +61,6 @@ def upload_file(file_name, bucket, object_name=None): ) try: response = s3_client.upload_file(file_name, bucket, object_name, extra_args) - logging.debug(f"S3 upload response code: {response.status_code}") except ClientError as e: logging.error(e) return False -- GitLab