Skip to content

Commit 8cb9b23

Browse files
committed
Cosmetic: fixes a few codespell reported typos
1 parent dae680c commit 8cb9b23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

S3/ConnMan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def get(hostname, ssl=None):
273273
cur_time = time()
274274
if cur_time < conn.last_used_time + cfg.connection_max_age \
275275
and cur_time >= conn.last_used_time:
276-
debug("ConnMan.get(): re-using connection: %s#%d"
276+
debug("ConnMan.get(): reusing connection: %s#%d"
277277
% (conn.id, conn.counter))
278278
break
279279
# Conn is too old or wall clock went back in the past

S3/S3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def object_copy(self, src_uri, dst_uri, extra_headers=None,
10161016
if src_size > threshold:
10171017
# Sadly, s3 has a bad logic as metadata will not be copied for
10181018
# multipart copy unlike what is done for direct copies.
1019-
# TODO: Optimize by re-using the object_info request done
1019+
# TODO: Optimize by reusing the object_info request done
10201020
# earlier earlier at fetch remote stage, and preserve headers.
10211021
if src_headers is None:
10221022
src_info = self.object_info(src_uri)
@@ -1668,7 +1668,7 @@ def update_region_inner_request(self, request):
16681668
16691669
Signature v4 needs the region of the bucket or the request will fail
16701670
with the indication of the correct region.
1671-
We are trying to avoid this failure by pre-emptively getting the
1671+
We are trying to avoid this failure by preemptively getting the
16721672
correct region to use, if not provided by the user.
16731673
"""
16741674
if request.resource.get('bucket') and not request.use_signature_v2() \

0 commit comments

Comments
 (0)