From 6eb10eb5e666f68fe8a11ed5d3baba1da908caed Mon Sep 17 00:00:00 2001 From: Takaki Taniguchi Date: Sun, 22 Jun 2014 10:16:18 +0000 Subject: [PATCH] refresh patch --- debian/patches/remove-duplicated-code | 78 ++++++++++++++++----------- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/debian/patches/remove-duplicated-code b/debian/patches/remove-duplicated-code index 46b2833c..5d590a99 100644 --- a/debian/patches/remove-duplicated-code +++ b/debian/patches/remove-duplicated-code @@ -20,33 +20,11 @@ Forwarded: Reviewed-By: Last-Update: ---- python-botocore-0.29.0+repack.orig/botocore/awsrequest.py -+++ python-botocore-0.29.0+repack/botocore/awsrequest.py -@@ -23,8 +23,8 @@ - import logging - - 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, file_type - from botocore.exceptions import UnseekableStreamError ---- python-botocore-0.29.0+repack.orig/botocore/credentials.py -+++ python-botocore-0.29.0+repack/botocore/credentials.py -@@ -21,7 +21,7 @@ - # IN THE SOFTWARE. - # - import os --from botocore.vendored import requests -+import requests - import logging - - from six.moves import configparser ---- python-botocore-0.29.0+repack.orig/botocore/endpoint.py -+++ python-botocore-0.29.0+repack/botocore/endpoint.py -@@ -25,8 +25,8 @@ import logging +Index: python-botocore-0.52.0/botocore/endpoint.py +=================================================================== +--- python-botocore-0.52.0.orig/botocore/endpoint.py 2014-06-22 19:12:55.888338509 +0900 ++++ python-botocore-0.52.0/botocore/endpoint.py 2014-06-22 19:12:55.884338571 +0900 +@@ -17,8 +17,8 @@ import time import threading @@ -57,9 +35,11 @@ Last-Update: import six import botocore.response ---- python-botocore-0.29.0+repack.orig/botocore/retryhandler.py -+++ python-botocore-0.29.0+repack/botocore/retryhandler.py -@@ -25,8 +25,8 @@ import functools +Index: python-botocore-0.52.0/botocore/retryhandler.py +=================================================================== +--- python-botocore-0.52.0.orig/botocore/retryhandler.py 2014-06-22 19:12:55.888338509 +0900 ++++ python-botocore-0.52.0/botocore/retryhandler.py 2014-06-22 19:12:55.884338571 +0900 +@@ -17,8 +17,8 @@ import logging from binascii import crc32 @@ -70,3 +50,41 @@ Last-Update: from botocore.exceptions import ChecksumError +Index: python-botocore-0.52.0/botocore/awsrequest.py +=================================================================== +--- python-botocore-0.52.0.orig/botocore/awsrequest.py 2014-06-22 19:12:55.888338509 +0900 ++++ python-botocore-0.52.0/botocore/awsrequest.py 2014-06-22 19:13:52.571480844 +0900 +@@ -17,14 +17,14 @@ + import inspect + + 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, file_type, 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__) +Index: python-botocore-0.52.0/botocore/utils.py +=================================================================== +--- python-botocore-0.52.0.orig/botocore/utils.py 2014-06-20 06:28:15.000000000 +0900 ++++ python-botocore-0.52.0/botocore/utils.py 2014-06-22 19:15:44.709784035 +0900 +@@ -15,7 +15,7 @@ + + from .exceptions import InvalidExpressionError, ConfigNotFound + from .compat import json +-from .vendored import requests ++import requests + + + logger = logging.getLogger(__name__)