##// END OF EJS Templates
mail: fix debug print, which appears to have been broken for a long time...
Augie Fackler -
r39063:71312638 default
parent child Browse files
Show More
@@ -73,7 +73,7 b' class SMTPS(smtplib.SMTP):'
73
73
74 def _get_socket(self, host, port, timeout):
74 def _get_socket(self, host, port, timeout):
75 if self.debuglevel > 0:
75 if self.debuglevel > 0:
76 self._ui.debug('connect: %r\n' % (host, port))
76 self._ui.debug('connect: %r\n' % ((host, port),))
77 new_socket = socket.create_connection((host, port), timeout)
77 new_socket = socket.create_connection((host, port), timeout)
78 new_socket = sslutil.wrapsocket(new_socket,
78 new_socket = sslutil.wrapsocket(new_socket,
79 self.keyfile, self.certfile,
79 self.keyfile, self.certfile,
General Comments 0
You need to be logged in to leave comments. Login now