summaryrefslogtreecommitdiff
path: root/dev-python/requests/files/requests-2.2.0-system-chardet.patch
blob: 18fc7a992bf5adccdb38deeb3c5933b82bbcc60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- requests-2.2.0/requests/compat.py
+++ requests-2.2.0/requests/compat.py
@@ -4,7 +4,7 @@
 pythoncompat
 """
 
-from .packages import chardet
+import chardet
 
 import sys
 
--- requests-2.2.0/setup.py
+++ requests-2.2.0/setup.py
@@ -17,7 +17,6 @@
 packages = [
     'requests',
     'requests.packages',
-    'requests.packages.chardet',
     'requests.packages.urllib3',
     'requests.packages.urllib3.packages',
     'requests.packages.urllib3.contrib',