diff options
author | Georg Brandl <georg@python.org> | 2010-07-31 10:08:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-31 10:08:09 (GMT) |
commit | 17e3d698b512025d525c1ecb6b0531b575ad5518 (patch) | |
tree | c31086172ace8d2a6be741771fbb68aedc5b5b8f /Lib/smtpd.py | |
parent | ca9400f0519261a0d8a282ff1dcaadaddf00fd64 (diff) | |
download | cpython-17e3d698b512025d525c1ecb6b0531b575ad5518.zip cpython-17e3d698b512025d525c1ecb6b0531b575ad5518.tar.gz cpython-17e3d698b512025d525c1ecb6b0531b575ad5518.tar.bz2 |
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-x | Lib/smtpd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index dd83988..ca68790 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -293,10 +293,10 @@ class SMTPChannel(asynchat.async_chat): else: data.append(text) self.received_data = NEWLINE.join(data) - status = self.__server.process_message(self.peer, - self.mailfrom, - self.rcpttos, - self.received_data) + status = self.smtp_server.process_message(self.peer, + self.mailfrom, + self.rcpttos, + self.received_data) self.rcpttos = [] self.mailfrom = None self.smtp_state = self.COMMAND |