Debian Codegraph @

debian/patches/unvendor.patch

raw symbols SCIP
1 Description: do not use vendored urllib3
2 Author: Sascha Steinbiss <[email protected]>
3 --- a/s4cmd.py
4 +++ b/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 - botocore.vendored.requests.packages.urllib3.exceptions.ReadTimeoutError,
18 + urllib3.exceptions.ReadTimeoutError,
19 botocore.exceptions.IncompleteReadError
20 )
21