Refresh patches
This commit is contained in:
parent
c04389a03f
commit
645f866309
15
debian/patches/do-not-use-vendored-code.patch
vendored
15
debian/patches/do-not-use-vendored-code.patch
vendored
|
@ -9,15 +9,16 @@ code, and includes dependencies for the corresponding packages, so we need
|
||||||
to do the same, here.
|
to do the same, here.
|
||||||
|
|
||||||
|
|
||||||
--- a/boto3/compat.py
|
Index: python-boto3/boto3/compat.py
|
||||||
+++ b/boto3/compat.py
|
===================================================================
|
||||||
@@ -14,8 +14,7 @@
|
--- python-boto3.orig/boto3/compat.py
|
||||||
import os
|
+++ python-boto3/boto3/compat.py
|
||||||
import errno
|
@@ -16,7 +16,7 @@ import errno
|
||||||
import socket
|
import socket
|
||||||
-
|
import warnings
|
||||||
|
|
||||||
-from botocore.vendored import six
|
-from botocore.vendored import six
|
||||||
+import six
|
+import six
|
||||||
|
from boto3.exceptions import PythonDeprecationWarning
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
# In python3, socket.error is OSError, which is too general
|
|
||||||
|
|
Loading…
Reference in a new issue