<short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . python-botocore (0.81.0-1) UNRELEASED; urgency=medium . * New upstream release Patch-Name: remove-duplicated-code
This commit is contained in:
parent
fff9a8a8ca
commit
0be67ded0a
|
@ -19,14 +19,14 @@ import socket
|
|||
import inspect
|
||||
|
||||
from botocore.compat import six
|
||||
from botocore.vendored.requests import models
|
||||
from botocore.vendored.requests.sessions import REDIRECT_STATI
|
||||
from requests import models
|
||||
from requests.sessions import REDIRECT_STATI
|
||||
from botocore.compat import HTTPHeaders, HTTPResponse
|
||||
from botocore.exceptions import UnseekableStreamError
|
||||
from botocore.vendored.requests.packages.urllib3.connection import VerifiedHTTPSConnection
|
||||
from botocore.vendored.requests.packages.urllib3.connection import HTTPConnection
|
||||
from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPConnectionPool
|
||||
from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPSConnectionPool
|
||||
from urllib3.connection import VerifiedHTTPSConnection
|
||||
from urllib3.connection import HTTPConnection
|
||||
from urllib3.connectionpool import HTTPConnectionPool
|
||||
from urllib3.connectionpool import HTTPSConnectionPool
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -16,7 +16,7 @@ import datetime
|
|||
import sys
|
||||
import inspect
|
||||
|
||||
from botocore.vendored import six
|
||||
import six
|
||||
|
||||
|
||||
if six.PY3:
|
||||
|
|
|
@ -17,8 +17,8 @@ import logging
|
|||
import time
|
||||
import threading
|
||||
|
||||
from botocore.vendored.requests.sessions import Session
|
||||
from botocore.vendored.requests.utils import get_environ_proxies
|
||||
from requests.sessions import Session
|
||||
from requests.utils import get_environ_proxies
|
||||
|
||||
import botocore.response
|
||||
import botocore.exceptions
|
||||
|
|
|
@ -17,8 +17,8 @@ import functools
|
|||
import logging
|
||||
from binascii import crc32
|
||||
|
||||
from botocore.vendored.requests import ConnectionError, Timeout
|
||||
from botocore.vendored.requests.packages.urllib3.exceptions import ClosedPoolError
|
||||
from requests import ConnectionError, Timeout
|
||||
from urllib3.exceptions import ClosedPoolError
|
||||
|
||||
from botocore.exceptions import ChecksumError
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ from dateutil.tz import tzlocal, tzutc
|
|||
|
||||
from botocore.exceptions import InvalidExpressionError, ConfigNotFound
|
||||
from botocore.compat import json, quote, zip_longest
|
||||
from botocore.vendored import requests
|
||||
import requests
|
||||
from botocore.compat import OrderedDict
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue