From: Jeremy Hylton Date: Fri, 10 Aug 2007 18:49:01 +0000 (+0000) Subject: Style X-Git-Tag: v3.0a1~462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b878bd3d55613a3d31216ef5d8c1cffb681b7ab;p=python Style --- diff --git a/Lib/httplib.py b/Lib/httplib.py index fd66cfd3c9..894c136a61 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -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