commit | 4b878bd3d55613a3d31216ef5d8c1cffb681b7ab | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 10 18:49:01 2007 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 10 18:49:01 2007 +0000 |
tree | a254add942271144cd7902de004e90c8380fe2e5 | |
parent | 6e69f7faa3b2423753960e9cb5132f81a9459951 [diff] |
Style
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 @@ 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