mercurial/mail.py
changeset 39028 713126389ef2
parent 39026 a5e70c14214a
child 39031 2cf3bd4ae55e
--- a/mercurial/mail.py	Mon Jul 16 18:17:44 2018 -0400
+++ b/mercurial/mail.py	Thu Aug 09 17:44:36 2018 -0400
@@ -73,7 +73,7 @@
 
     def _get_socket(self, host, port, timeout):
         if self.debuglevel > 0:
-            self._ui.debug('connect: %r\n' % (host, port))
+            self._ui.debug('connect: %r\n' % ((host, port),))
         new_socket = socket.create_connection((host, port), timeout)
         new_socket = sslutil.wrapsocket(new_socket,
                                         self.keyfile, self.certfile,