diff --git a/Lib/smtplib.py b/Lib/smtplib.py index b679875fd2..8a7528f4d2 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -331,8 +331,6 @@ class SMTP: raise OSError("nonnumeric port") if not port: port = self.default_port - if self.debuglevel > 0: - self._print_debug('connect:', (host, port)) self.sock = self._get_socket(host, port, self.timeout) self.file = None (code, msg) = self.getreply()