| 1 |
Descriptionscip-debian debian s4cmd 2.1.0+ds-4 s4cmd/patches/`unvendor.patch`#Description.: do not use vendored urllib3 |
| 2 |
Authorscip-debian debian s4cmd 2.1.0+ds-4 s4cmd/patches/`unvendor.patch`#Author.: Sascha Steinbiss <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
--- a/s4cmd.pyscip-debian debian s4cmd 2.1.0+ds-4 s4cmd/upstream/`s4cmd.py`: |
| 4 |
+++ b/s4cmd.pyscip-debian debian s4cmd 2.1.0+ds-4 s4cmd/upstream/`s4cmd.py`: |
| 5 |
@@ -23,6 +23,7 @@ |
| 6 |
|
| 7 |
import sys, os, re, optparse, multiprocessing, fnmatch, time, hashlib, errno, pytz |
| 8 |
import logging, traceback, types, threading, random, socket, shlex, datetime, json |
| 9 |
+import urllib3 |
| 10 |
|
| 11 |
IS_PYTHON2 = sys.version_info[0] == 2 |
| 12 |
|
| 13 |
@@ -271,7 +272,7 @@ |
| 14 |
S3RetryableErrors = ( |
| 15 |
socket.timeout, |
| 16 |
socket.error if IS_PYTHON2 else ConnectionError, |
| 17 |
|
| 18 |
+ urllib3.exceptions.ReadTimeoutError, |
| 19 |
botocore.exceptions.IncompleteReadError |
| 20 |
) |
| 21 |
|