Skip to content
Snippets Groups Projects
Commit f449138a authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use email.generator module instead of email.Generator

On py2:

>>> import email
>>> import email.generator as emailgen
>>> email.Generator.Generator is emailgen.Generator
True

email.Generator is not present on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D2454
parent 1fb9e013
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment