python-botocore/debian/patches/remove-duplicated-code
Takaki Taniguchi 33d8f96263 new upstream
2015-01-13 13:49:43 +00:00

97 lines
3.6 KiB
Plaintext

Description: <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
Author: TANIGUCHI Takaki <takaki@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- python-botocore-0.81.0.orig/botocore/awsrequest.py
+++ python-botocore-0.81.0/botocore/awsrequest.py
@@ -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__)
--- python-botocore-0.81.0.orig/botocore/compat.py
+++ python-botocore-0.81.0/botocore/compat.py
@@ -16,7 +16,7 @@ import datetime
import sys
import inspect
-from botocore.vendored import six
+import six
if six.PY3:
--- python-botocore-0.81.0.orig/botocore/endpoint.py
+++ python-botocore-0.81.0/botocore/endpoint.py
@@ -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
--- python-botocore-0.81.0.orig/botocore/retryhandler.py
+++ python-botocore-0.81.0/botocore/retryhandler.py
@@ -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
--- python-botocore-0.81.0.orig/botocore/utils.py
+++ python-botocore-0.81.0/botocore/utils.py
@@ -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