]> granicus.if.org Git - python/commitdiff
Style
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 10 Aug 2007 18:49:01 +0000 (18:49 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 10 Aug 2007 18:49:01 +0000 (18:49 +0000)
Lib/httplib.py

index fd66cfd3c9467210cae3711417a3ea5f81bf3f3b..894c136a6171639e5870e879998aacd1c998db62 100644 (file)
@@ -894,9 +894,9 @@ class HTTPConnection:
         self.putrequest(method, url, **skips)
 
         if body and ('content-length' not in header_names):
-            thelen=None
+            thelen = None
             try:
-                thelen=str(len(body))
+                thelen = str(len(body))
             except TypeError as te:
                 # If this is a file-like object, try to
                 # fstat its file descriptor