aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-11 00:00:47 +0100
committerColin Watson <cjwatson@debian.org>2020-04-11 00:00:47 +0100
commit59586b5f0ccfa9d570d8c7d908d00d34cf1f3c89 (patch)
treea5ab355894a58998b03d37f8dff1bff2b7f4d435
parent0d490f692ca5f73cd2caaf9cc5e42e9f7702e453 (diff)
downloadhttplib2-59586b5f0ccfa9d570d8c7d908d00d34cf1f3c89.tar.gz
Fix debug in HTTPSConnectionWithTimeout.connect
There was one more layer of parentheses than there should have been. Fixes #161.
-rw-r--r--python3/httplib2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
index 3712075..d015fe6 100644
--- a/python3/httplib2/__init__.py
+++ b/python3/httplib2/__init__.py
@@ -1366,7 +1366,7 @@ class HTTPSConnectionWithTimeout(http.client.HTTPSConnection):
except socket.error as e:
socket_err = e
if self.debuglevel > 0:
- print("connect fail: ({0}, {1})".format((self.host, self.port)))
+ print("connect fail: ({0}, {1})".format(self.host, self.port))
if use_proxy:
print(
"proxy: {0}".format(