From 845021092edb4a1aa80a64a4d97c14397154f385 Mon Sep 17 00:00:00 2001 From: Florent Viard Date: Fri, 20 Oct 2023 02:51:23 +0200 Subject: [PATCH] cosmetic: comment typo fixes --- S3/S3.py | 2 +- s3cmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/S3/S3.py b/S3/S3.py index aa9cfcea..48232dd8 100644 --- a/S3/S3.py +++ b/S3/S3.py @@ -1999,7 +1999,7 @@ def recv_file(self, request, stream, labels, start_position=0, retries=None): raise S3DownloadError("Download failed for: %s" % resource['uri']) if response["status"] < 200 or response["status"] > 299: - # In case of error, we still need to flush the read buffer to be able to re-use + # In case of error, we still need to flush the read buffer to be able to reuse # the connection response['data'] = http_response.read() diff --git a/s3cmd b/s3cmd index 8962ffdc..2766bd19 100755 --- a/s3cmd +++ b/s3cmd @@ -3102,7 +3102,7 @@ def main(): optparser.add_option( "--no-check-hostname", dest="check_ssl_hostname", action="store_false", help="Do not check SSL certificate hostname validity") optparser.add_option( "--signature-v2", dest="signature_v2", action="store_true", help="Use AWS Signature version 2 instead of newer signature methods. Helpful for S3-like systems that don't have AWS Signature v4 yet.") optparser.add_option( "--limit-rate", dest="limitrate", action="store", type="string", help="Limit the upload or download speed to amount bytes per second. Amount may be expressed in bytes, kilobytes with the k suffix, or megabytes with the m suffix") - optparser.add_option( "--no-connection-pooling", dest="connection_pooling", action="store_false", help="Disable connection re-use") + optparser.add_option( "--no-connection-pooling", dest="connection_pooling", action="store_false", help="Disable connection reuse") optparser.add_option( "--requester-pays", dest="requester_pays", action="store_true", help="Set the REQUESTER PAYS flag for operations") optparser.add_option("-l", "--long-listing", dest="long_listing", action="store_true", help="Produce long listing [ls]") optparser.add_option( "--stop-on-error", dest="stop_on_error", action="store_true", help="stop if error in transfer")