Skip to content

Commit

Permalink
cosmetic: comment typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fviard committed Oct 20, 2023
1 parent 402db18 commit 8450210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion S3/S3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion s3cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8450210

Please sign in to comment.