Skip to content

Commit bf4d8a1

Browse files
author
Rakshil Modi
committed
fixed identation
1 parent 1fa6cd5 commit bf4d8a1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

awscli/customizations/s3/results.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,11 @@ def _on_failure(self, future, e):
125125
error_result_cls = ErrorResult
126126
self._result_queue.put(error_result_cls(exception=e))
127127
elif self._is_precondition_failed(e):
128-
error_message = f"Warning: Skipping file {self._src} as it already exists on {self._dest}"
129-
LOGGER.debug(error_message)
128+
LOGGER.debug(
129+
"Warning: Skipping file %s as it already exists on %s",
130+
self._src,
131+
self._dest,
132+
)
130133
else :
131134
self._result_queue.put(
132135
FailureResult(

tests/functional/s3/test_cp_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ def test_for_no_overwrite_flag_multipart_upload_when_object_exists_on_target(sel
387387
# Verify the IfNoneMatch condition was set in the CompleteMultipartUpload request
388388
self.assertEqual(self.operations_called[3][1]['IfNoneMatch'], '*')
389389

390-
391390
def test_dryrun_download(self):
392391
self.parsed_responses = [self.head_object_response()]
393392
target = self.files.full_path('file.txt')

0 commit comments

Comments
 (0)