summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-09-15 23:26:23 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-09-15 23:26:23 (GMT)
commit0a1af4aeb07dd9198ad1ff19528d89873219b623 (patch)
tree6afda68bd8017e1869861bd9437598c04ea2e2dc /Lib/httplib.py
parentca0d2cb66ea25e56bb7ec5184aeb20cd65303d1a (diff)
downloadcpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.zip
cpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.tar.gz
cpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.tar.bz2
Remove tabs.
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 c88b172..1fb5e8a 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -534,8 +534,8 @@ class HTTPConnection:
host = host[:i]
else:
port = self.default_port
- if host[0] == '[' and host[-1] == ']':
- host = host[1:-1]
+ if host[0] == '[' and host[-1] == ']':
+ host = host[1:-1]
self.host = host
self.port = port