From: ContinuousFunction Date: Thu, 21 Aug 2014 18:05:02 +0000 (-0700) Subject: Added space and sentence case X-Git-Tag: v2.4.0~10^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7e087cf562d173ec62fa384aa028746798f96c8;p=services%2Fpython-requests.git Added space and sentence case Added space and sentence case as requested by sigmavirus24. https://github.com/kennethreitz/requests/pull/2168 --- diff --git a/requests/sessions.py b/requests/sessions.py index 758e6ea..07b6a32 100644 --- a/requests/sessions.py +++ b/requests/sessions.py @@ -91,13 +91,13 @@ class SessionRedirectMixin(object): """Receives a Response. Returns a generator of Responses.""" i = 0 - hist = [] #keep track of history + hist = [] # keep track of history while resp.is_redirect: prepared_request = req.copy() if i > 0: - #update history and keep track of redirects + # Update history and keep track of redirects. hist.append(resp) new_hist = list(hist) resp.history = new_hist