From: Christopher Davis Date: Sat, 17 Dec 2011 19:48:40 +0000 (-0600) Subject: Fixed some tab/spaces mixed issues X-Git-Tag: v0.8.6~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e2ecd698700698dc1ad0daedf910f3dfa53a4ee;p=services%2Fpython-requests.git Fixed some tab/spaces mixed issues --- diff --git a/requests/models.py b/requests/models.py index e043d88..e84c8f1 100644 --- a/requests/models.py +++ b/requests/models.py @@ -409,10 +409,10 @@ class Request(object): conn = poolmanager.proxy_from_url(proxy) _proxy = urlparse(proxy) if '@' in _proxy.netloc: - auth, url = _proxy.netloc.split('@', 1) - self.proxy_auth = HTTPProxyAuth(*auth.split(':', 1)) - r = self.proxy_auth(self) - self.__dict__.update(r.__dict__) + auth, url = _proxy.netloc.split('@', 1) + self.proxy_auth = HTTPProxyAuth(*auth.split(':', 1)) + r = self.proxy_auth(self) + self.__dict__.update(r.__dict__) else: # Check to see if keep_alive is allowed. if self.config.get('keep_alive'):