diff options
author | Colin Watson <cjwatson@debian.org> | 2020-04-11 00:00:47 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-04-11 00:00:47 +0100 |
commit | 59586b5f0ccfa9d570d8c7d908d00d34cf1f3c89 (patch) | |
tree | a5ab355894a58998b03d37f8dff1bff2b7f4d435 | |
parent | 0d490f692ca5f73cd2caaf9cc5e42e9f7702e453 (diff) | |
download | httplib2-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__.py | 2 |
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( |