summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/httplib.py')
-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