( )⚙ D2168 mail: import email.utils not email.Utils

This is an archive of the discontinued Mercurial Phabricator instance.

mail: import email.utils not email.Utils
ClosedPublic

Authored by indygreg on Feb 11 2018, 10:45 PM.

Details

Summary

email.Utils was renamed to email.utils in Python 2.5. But it appears
at some point before Python 2.7 (possibly 2.5) email.Utils was aliased
to the new home. So email.utils should be safe for all versions of
Python we support.

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

indygreg created this revision.Feb 11 2018, 10:45 PM
pulkit accepted this revision.Feb 12 2018, 2:43 AM
durin42 accepted this revision.Feb 12 2018, 9:31 PM
This revision is now accepted and ready to land.Feb 12 2018, 9:31 PM
This revision was automatically updated to reflect the committed changes.