Use vendored urllib3.
As long as requests ships with urllib3, we can't fall back to the "system" urllib3, since that breaks class-identity checks.
This commit is contained in:
parent
615f094ef3
commit
6727e9b559
1 changed files with 1 additions and 4 deletions
|
@ -18,9 +18,6 @@ except ImportError:
|
||||||
import robotparser
|
import robotparser
|
||||||
import requests
|
import requests
|
||||||
from requests.adapters import HTTPAdapter
|
from requests.adapters import HTTPAdapter
|
||||||
try:
|
|
||||||
from urllib3.util.retry import Retry
|
|
||||||
except ImportError:
|
|
||||||
from requests.packages.urllib3.util.retry import Retry
|
from requests.packages.urllib3.util.retry import Retry
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in a new issue