Mercurial > hg
diff contrib/debian/compat @ 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 | 7f49efcaa9b4 |
children |