Mercurial > hg
diff contrib/python3-ratchet.py @ 36435:f449138a52df
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 26 Feb 2018 16:22:15 +0530 |
parents | 28f429d19a71 |
children | 3790610c2793 |