From 4b878bd3d55613a3d31216ef5d8c1cffb681b7ab Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 10 Aug 2007 18:49:01 +0000 Subject: Style --- Lib/httplib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/httplib.py b/Lib/httplib.py index fd66cfd..894c136 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 -- cgit v0.12