File: 0002-no-compat-six.patch

package info (click to toggle)
python-s3transfer 0.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,464 kB
  • sloc: python: 15,756; makefile: 9
file content (23 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Forwarded: https://github.com/boto/s3transfer/pull/300

--- a/s3transfer/compat.py
+++ b/s3transfer/compat.py
@@ -16,8 +16,6 @@
 import socket
 import sys
 
-from botocore.compat import six
-
 if sys.platform.startswith('win'):
     def rename_file(current_filename, new_filename):
         try:
--- a/s3transfer/__init__.py
+++ b/s3transfer/__init__.py
@@ -136,7 +136,6 @@
 import threading
 from logging import NullHandler
 
-from botocore.compat import six  # noqa: F401
 from botocore.exceptions import IncompleteReadError, ResponseStreamingError
 from urllib3.exceptions import (
     ReadTimeoutError,