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:
Tobias Gruetzmacher 2016-03-16 23:18:19 +01:00
parent 615f094ef3
commit 6727e9b559

View file

@ -18,9 +18,6 @@ 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
import sys
import os