Skip to content

Commit

Permalink
Cosmetic: fixes a few codespell reported typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fviard committed Jan 27, 2025
1 parent dae680c commit 8cb9b23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S3/ConnMan.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def get(hostname, ssl=None):
cur_time = time()
if cur_time < conn.last_used_time + cfg.connection_max_age \
and cur_time >= conn.last_used_time:
debug("ConnMan.get(): re-using connection: %s#%d"
debug("ConnMan.get(): reusing connection: %s#%d"
% (conn.id, conn.counter))
break
# Conn is too old or wall clock went back in the past
Expand Down
4 changes: 2 additions & 2 deletions S3/S3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def object_copy(self, src_uri, dst_uri, extra_headers=None,
if src_size > threshold:
# Sadly, s3 has a bad logic as metadata will not be copied for
# multipart copy unlike what is done for direct copies.
# TODO: Optimize by re-using the object_info request done
# TODO: Optimize by reusing the object_info request done
# earlier earlier at fetch remote stage, and preserve headers.
if src_headers is None:
src_info = self.object_info(src_uri)
Expand Down Expand Up @@ -1668,7 +1668,7 @@ def update_region_inner_request(self, request):
Signature v4 needs the region of the bucket or the request will fail
with the indication of the correct region.
We are trying to avoid this failure by pre-emptively getting the
We are trying to avoid this failure by preemptively getting the
correct region to use, if not provided by the user.
"""
if request.resource.get('bucket') and not request.use_signature_v2() \
Expand Down

0 comments on commit 8cb9b23

Please sign in to comment.