summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2007-08-10 18:49:01 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2007-08-10 18:49:01 (GMT)
commit4b878bd3d55613a3d31216ef5d8c1cffb681b7ab (patch)
treea254add942271144cd7902de004e90c8380fe2e5 /Lib
parent6e69f7faa3b2423753960e9cb5132f81a9459951 (diff)
downloadcpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.zip
cpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.tar.gz
cpython-4b878bd3d55613a3d31216ef5d8c1cffb681b7ab.tar.bz2
Style
Diffstat (limited to 'Lib')
-rw-r--r--Lib/httplib.py4
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