diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-08-10 18:49:01 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-08-10 18:49:01 (GMT) |
commit | 4b878bd3d55613a3d31216ef5d8c1cffb681b7ab (patch) | |
tree | a254add942271144cd7902de004e90c8380fe2e5 /Lib | |
parent | 6e69f7faa3b2423753960e9cb5132f81a9459951 (diff) | |
download | cpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.zip cpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.tar.gz cpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.tar.bz2 |
Style
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/httplib.py | 4 |
1 files 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 |