From b832dc66e50d78913702a4e4e20abf68a92f6f46 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 24 Nov 2016 11:24:18 -0500 Subject: Remove some unused code. --- src/mailman/testing/mta.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/mailman/testing/mta.py b/src/mailman/testing/mta.py index 129ed1d1f..8b273d792 100644 --- a/src/mailman/testing/mta.py +++ b/src/mailman/testing/mta.py @@ -180,18 +180,6 @@ class ConnectionCountingSMTP(SMTP): # the exception we expect smtplib.SMTP to raise. yield from self.push('%d Error: SMTPResponseException' % code) - def found_terminator(self): - # Are we're waiting for the AUTH challenge response? - if self._waiting_for_auth_response: - line = self._emptystring.join(self.received_lines) - self._auth_response = line - self._waiting_for_auth_response = False - self.received_lines = [] - # Now check to see if they authenticated correctly. - self._check_auth(line) - else: - super().found_terminator() - import socket import asyncio -- cgit v1.3.1