( )⚙ D4218 mail: fix debug print, which appears to have been broken for a long time

This is an archive of the discontinued Mercurial Phabricator instance.

mail: fix debug print, which appears to have been broken for a long time
ClosedPublic

Authored by durin42 on Aug 9 2018, 6:06 PM.

Details

Summary

I noticed this when trying to debug very mysterious dummysmtpd
problems. It turns out you can set self.debuglevel to a number greater
than 0 and have smtplib print helpful debug output, but this output on
our side of things was broken.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped