merge patched into master
This commit is contained in:
commit
ced3ac7cca
|
@ -22,15 +22,15 @@ from botocore.compat import six
|
||||||
from botocore.compat import HTTPHeaders, HTTPResponse, urlunsplit, urlsplit
|
from botocore.compat import HTTPHeaders, HTTPResponse, urlunsplit, urlsplit
|
||||||
from botocore.exceptions import UnseekableStreamError
|
from botocore.exceptions import UnseekableStreamError
|
||||||
from botocore.utils import percent_encode_sequence
|
from botocore.utils import percent_encode_sequence
|
||||||
from botocore.vendored.requests import models
|
from requests import models
|
||||||
from botocore.vendored.requests.sessions import REDIRECT_STATI
|
from requests.sessions import REDIRECT_STATI
|
||||||
from botocore.vendored.requests.packages.urllib3.connection import \
|
from urllib3.connection import \
|
||||||
VerifiedHTTPSConnection
|
VerifiedHTTPSConnection
|
||||||
from botocore.vendored.requests.packages.urllib3.connection import \
|
from urllib3.connection import \
|
||||||
HTTPConnection
|
HTTPConnection
|
||||||
from botocore.vendored.requests.packages.urllib3.connectionpool import \
|
from urllib3.connectionpool import \
|
||||||
HTTPConnectionPool
|
HTTPConnectionPool
|
||||||
from botocore.vendored.requests.packages.urllib3.connectionpool import \
|
from urllib3.connectionpool import \
|
||||||
HTTPSConnectionPool
|
HTTPSConnectionPool
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@ import sys
|
||||||
import inspect
|
import inspect
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from botocore.vendored import six
|
import six
|
||||||
from botocore.vendored.requests.packages.urllib3 import exceptions
|
from urllib3 import exceptions
|
||||||
|
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
|
|
|
@ -17,10 +17,10 @@ import logging
|
||||||
import time
|
import time
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
from botocore.vendored.requests.sessions import Session
|
from requests.sessions import Session
|
||||||
from botocore.vendored.requests.utils import get_environ_proxies
|
from requests.utils import get_environ_proxies
|
||||||
from botocore.vendored.requests.exceptions import ConnectionError
|
from requests.exceptions import ConnectionError
|
||||||
from botocore.vendored import six
|
import six
|
||||||
|
|
||||||
from botocore.awsrequest import create_request_object
|
from botocore.awsrequest import create_request_object
|
||||||
from botocore.exceptions import BaseEndpointResolverError
|
from botocore.exceptions import BaseEndpointResolverError
|
||||||
|
@ -44,7 +44,7 @@ def convert_to_response_dict(http_response, operation_model):
|
||||||
This converts the requests library's HTTP response object to
|
This converts the requests library's HTTP response object to
|
||||||
a dictionary.
|
a dictionary.
|
||||||
|
|
||||||
:type http_response: botocore.vendored.requests.model.Response
|
:type http_response: requests.model.Response
|
||||||
:param http_response: The HTTP response from an AWS service request.
|
:param http_response: The HTTP response from an AWS service request.
|
||||||
|
|
||||||
:rtype: dict
|
:rtype: dict
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||||
# ANY KIND, either express or implied. See the License for the specific
|
# ANY KIND, either express or implied. See the License for the specific
|
||||||
# language governing permissions and limitations under the License.
|
# language governing permissions and limitations under the License.
|
||||||
from botocore.vendored.requests.exceptions import ConnectionError
|
from requests.exceptions import ConnectionError
|
||||||
|
|
||||||
|
|
||||||
class BotoCoreError(Exception):
|
class BotoCoreError(Exception):
|
||||||
|
|
|
@ -17,8 +17,8 @@ import functools
|
||||||
import logging
|
import logging
|
||||||
from binascii import crc32
|
from binascii import crc32
|
||||||
|
|
||||||
from botocore.vendored.requests import ConnectionError, Timeout
|
from requests import ConnectionError, Timeout
|
||||||
from botocore.vendored.requests.packages.urllib3.exceptions import ClosedPoolError
|
from requests.packages.urllib3.exceptions import ClosedPoolError
|
||||||
|
|
||||||
from botocore.exceptions import ChecksumError, EndpointConnectionError
|
from botocore.exceptions import ChecksumError, EndpointConnectionError
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ from dateutil.tz import tzlocal, tzutc
|
||||||
from botocore.exceptions import InvalidExpressionError, ConfigNotFound
|
from botocore.exceptions import InvalidExpressionError, ConfigNotFound
|
||||||
from botocore.exceptions import InvalidDNSNameError
|
from botocore.exceptions import InvalidDNSNameError
|
||||||
from botocore.compat import json, quote, zip_longest, urlsplit, urlunsplit
|
from botocore.compat import json, quote, zip_longest, urlsplit, urlunsplit
|
||||||
from botocore.vendored import requests
|
import requests
|
||||||
from botocore.compat import OrderedDict
|
from botocore.compat import OrderedDict
|
||||||
|
|
||||||
|
|
||||||
|
|
4
debian/.git-dpm
vendored
4
debian/.git-dpm
vendored
|
@ -1,6 +1,6 @@
|
||||||
# see git-dpm(1) from git-dpm package
|
# see git-dpm(1) from git-dpm package
|
||||||
ebf3d00fef28da220452ec33350007735889d7bf
|
27b11cd3f127cf29074b225a65e74e2732d1422d
|
||||||
ebf3d00fef28da220452ec33350007735889d7bf
|
27b11cd3f127cf29074b225a65e74e2732d1422d
|
||||||
ebf3d00fef28da220452ec33350007735889d7bf
|
ebf3d00fef28da220452ec33350007735889d7bf
|
||||||
ebf3d00fef28da220452ec33350007735889d7bf
|
ebf3d00fef28da220452ec33350007735889d7bf
|
||||||
python-botocore_1.3.9.orig.tar.gz
|
python-botocore_1.3.9.orig.tar.gz
|
||||||
|
|
124
debian/patches/0001-Don-t-use-duplicated-modules.patch
vendored
Normal file
124
debian/patches/0001-Don-t-use-duplicated-modules.patch
vendored
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
From 27b11cd3f127cf29074b225a65e74e2732d1422d Mon Sep 17 00:00:00 2001
|
||||||
|
From: TANIGUCHI Takaki <takaki@asis.media-as.org>
|
||||||
|
Date: Tue, 24 Nov 2015 20:40:16 +0900
|
||||||
|
Subject: Don't use duplicated modules
|
||||||
|
|
||||||
|
---
|
||||||
|
botocore/awsrequest.py | 12 ++++++------
|
||||||
|
botocore/compat.py | 4 ++--
|
||||||
|
botocore/endpoint.py | 10 +++++-----
|
||||||
|
botocore/exceptions.py | 2 +-
|
||||||
|
botocore/retryhandler.py | 4 ++--
|
||||||
|
botocore/utils.py | 2 +-
|
||||||
|
6 files changed, 17 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/botocore/awsrequest.py b/botocore/awsrequest.py
|
||||||
|
index 06d0871..6bd1ab4 100644
|
||||||
|
--- a/botocore/awsrequest.py
|
||||||
|
+++ b/botocore/awsrequest.py
|
||||||
|
@@ -22,15 +22,15 @@ from botocore.compat import six
|
||||||
|
from botocore.compat import HTTPHeaders, HTTPResponse, urlunsplit, urlsplit
|
||||||
|
from botocore.exceptions import UnseekableStreamError
|
||||||
|
from botocore.utils import percent_encode_sequence
|
||||||
|
-from botocore.vendored.requests import models
|
||||||
|
-from botocore.vendored.requests.sessions import REDIRECT_STATI
|
||||||
|
-from botocore.vendored.requests.packages.urllib3.connection import \
|
||||||
|
+from requests import models
|
||||||
|
+from requests.sessions import REDIRECT_STATI
|
||||||
|
+from urllib3.connection import \
|
||||||
|
VerifiedHTTPSConnection
|
||||||
|
-from botocore.vendored.requests.packages.urllib3.connection import \
|
||||||
|
+from urllib3.connection import \
|
||||||
|
HTTPConnection
|
||||||
|
-from botocore.vendored.requests.packages.urllib3.connectionpool import \
|
||||||
|
+from urllib3.connectionpool import \
|
||||||
|
HTTPConnectionPool
|
||||||
|
-from botocore.vendored.requests.packages.urllib3.connectionpool import \
|
||||||
|
+from urllib3.connectionpool import \
|
||||||
|
HTTPSConnectionPool
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/botocore/compat.py b/botocore/compat.py
|
||||||
|
index 343fc05..530f2e8 100644
|
||||||
|
--- a/botocore/compat.py
|
||||||
|
+++ b/botocore/compat.py
|
||||||
|
@@ -17,8 +17,8 @@ import sys
|
||||||
|
import inspect
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
-from botocore.vendored import six
|
||||||
|
-from botocore.vendored.requests.packages.urllib3 import exceptions
|
||||||
|
+import six
|
||||||
|
+from urllib3 import exceptions
|
||||||
|
|
||||||
|
|
||||||
|
if six.PY3:
|
||||||
|
diff --git a/botocore/endpoint.py b/botocore/endpoint.py
|
||||||
|
index 623a4a4..b20ee03 100644
|
||||||
|
--- a/botocore/endpoint.py
|
||||||
|
+++ b/botocore/endpoint.py
|
||||||
|
@@ -17,10 +17,10 @@ import logging
|
||||||
|
import time
|
||||||
|
import threading
|
||||||
|
|
||||||
|
-from botocore.vendored.requests.sessions import Session
|
||||||
|
-from botocore.vendored.requests.utils import get_environ_proxies
|
||||||
|
-from botocore.vendored.requests.exceptions import ConnectionError
|
||||||
|
-from botocore.vendored import six
|
||||||
|
+from requests.sessions import Session
|
||||||
|
+from requests.utils import get_environ_proxies
|
||||||
|
+from requests.exceptions import ConnectionError
|
||||||
|
+import six
|
||||||
|
|
||||||
|
from botocore.awsrequest import create_request_object
|
||||||
|
from botocore.exceptions import BaseEndpointResolverError
|
||||||
|
@@ -44,7 +44,7 @@ def convert_to_response_dict(http_response, operation_model):
|
||||||
|
This converts the requests library's HTTP response object to
|
||||||
|
a dictionary.
|
||||||
|
|
||||||
|
- :type http_response: botocore.vendored.requests.model.Response
|
||||||
|
+ :type http_response: requests.model.Response
|
||||||
|
:param http_response: The HTTP response from an AWS service request.
|
||||||
|
|
||||||
|
:rtype: dict
|
||||||
|
diff --git a/botocore/exceptions.py b/botocore/exceptions.py
|
||||||
|
index 3e93582..d970d4b 100644
|
||||||
|
--- a/botocore/exceptions.py
|
||||||
|
+++ b/botocore/exceptions.py
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||||
|
# ANY KIND, either express or implied. See the License for the specific
|
||||||
|
# language governing permissions and limitations under the License.
|
||||||
|
-from botocore.vendored.requests.exceptions import ConnectionError
|
||||||
|
+from requests.exceptions import ConnectionError
|
||||||
|
|
||||||
|
|
||||||
|
class BotoCoreError(Exception):
|
||||||
|
diff --git a/botocore/retryhandler.py b/botocore/retryhandler.py
|
||||||
|
index e7e2f1d..dd417f9 100644
|
||||||
|
--- a/botocore/retryhandler.py
|
||||||
|
+++ b/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 requests.packages.urllib3.exceptions import ClosedPoolError
|
||||||
|
|
||||||
|
from botocore.exceptions import ChecksumError, EndpointConnectionError
|
||||||
|
|
||||||
|
diff --git a/botocore/utils.py b/botocore/utils.py
|
||||||
|
index 804a3bd..7d13af0 100644
|
||||||
|
--- a/botocore/utils.py
|
||||||
|
+++ b/botocore/utils.py
|
||||||
|
@@ -24,7 +24,7 @@ from dateutil.tz import tzlocal, tzutc
|
||||||
|
from botocore.exceptions import InvalidExpressionError, ConfigNotFound
|
||||||
|
from botocore.exceptions import InvalidDNSNameError
|
||||||
|
from botocore.compat import json, quote, zip_longest, urlsplit, urlunsplit
|
||||||
|
-from botocore.vendored import requests
|
||||||
|
+import requests
|
||||||
|
from botocore.compat import OrderedDict
|
||||||
|
|
||||||
|
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0001-Don-t-use-duplicated-modules.patch
|
Loading…
Reference in a new issue