Pandu E POLUAN <[email protected]> added the comment:
Okay, I finally figured out what's wrong.
This piece of code in `test_smtplib.py`:
if self.smtp_state == self.AUTH:
line = self._emptystring.join(self.received_lines)
print('Data:', repr(line), file=smtpd.DEBUGSTREAM)
self.received_lines = []
try:
self.auth_object(line)
except ResponseException as e:
self.smtp_state = self.COMMAND
self.push('%s %s' % (e.smtp_code, e.smtp_error))
return
The last "return" is over-indented.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue27820>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com