From 59586b5f0ccfa9d570d8c7d908d00d34cf1f3c89 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 11 Apr 2020 00:00:47 +0100 Subject: [PATCH] Fix debug in HTTPSConnectionWithTimeout.connect There was one more layer of parentheses than there should have been. Fixes #161. --- python3/httplib2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py index 3712075a..d015fe64 100644 --- a/python3/httplib2/__init__.py +++ b/python3/httplib2/__init__.py @@ -1366,7 +1366,7 @@ def connect(self): 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(