From: Cory Benfield Date: Wed, 19 Dec 2012 21:37:47 +0000 (+0000) Subject: Import basestring. X-Git-Tag: v1.0.4~31^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09da1921ffbd9cfd4dff83ca440cc49b087c732c;p=services%2Fpython-requests.git Import basestring. --- diff --git a/requests/adapters.py b/requests/adapters.py index 383ea9a..44e0786 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -13,7 +13,7 @@ import socket from .models import Response from .packages.urllib3.poolmanager import PoolManager, proxy_from_url from .hooks import dispatch_hook -from .compat import urlparse +from .compat import urlparse, basestring from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers from .structures import CaseInsensitiveDict from .packages.urllib3.exceptions import MaxRetryError