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,10 +18,7 @@ except ImportError:
|
|||
import robotparser
|
||||
import requests
|
||||
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 os
|
||||
import cgi
|
||||
|
|
Loading…
Reference in a new issue