2015-11-28 18:19:27 +01:00
|
|
|
From: Eric Evans <eevans@debian.org>
|
|
|
|
Date: Sun, 29 Nov 2015 12:33:59 -0600
|
|
|
|
Subject: do-not-use-vendored-code
|
2019-01-28 22:53:47 +01:00
|
|
|
Last-Update: Tue, 29 Jan 2019 00:51:06 +0300
|
2015-11-28 18:19:27 +01:00
|
|
|
|
|
|
|
Upstream botocore includes a couple of vendored modules, and boto3 depends
|
|
|
|
on them transitively. The Debian package of botocore excludes this vendored
|
|
|
|
code, and includes dependencies for the corresponding packages, so we need
|
|
|
|
to do the same, here.
|
|
|
|
|
2019-01-28 22:53:47 +01:00
|
|
|
|
|
|
|
--- a/boto3/compat.py
|
|
|
|
+++ b/boto3/compat.py
|
|
|
|
@@ -14,8 +14,7 @@
|
2016-05-22 04:06:46 +02:00
|
|
|
import os
|
|
|
|
import errno
|
|
|
|
import socket
|
|
|
|
-
|
|
|
|
-from botocore.vendored import six
|
|
|
|
+import six
|
2015-11-28 18:19:27 +01:00
|
|
|
|
2016-05-22 04:06:46 +02:00
|
|
|
if six.PY3:
|
|
|
|
# In python3, socket.error is OSError, which is too general
|