This is an archive of the discontinued Mercurial Phabricator instance.

mail: force SMTPException to bytes before wrapping in error.Abort
ClosedPublic

Authored by mharbison72 on Apr 19 2021, 9:08 PM.

Details

Summary

Pytype wasn't complaining about this for some reason, but PyCharm was and we
already handle another instance of this exception the same way in this function.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mharbison72 created this revision.Apr 19 2021, 9:08 PM
marmoute accepted this revision.Apr 20 2021, 5:39 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.