Mercurial > hg
changeset 25644:c99f9715cc9a
patch: remove email import workaround for Python 2.4
Python 2.6 provides access to the sub-modules just fine. This workaround
is no longer needed since we no longer support Python 2.4.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 22 Jun 2015 10:09:08 -0700 |
parents | 6f6c97d29a1e |
children | 977102cb12fc |
files | mercurial/patch.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/patch.py Sun Jun 21 15:18:49 2015 +0900 +++ b/mercurial/patch.py Mon Jun 22 10:09:08 2015 -0700 @@ -9,10 +9,6 @@ import collections import cStringIO, email, os, errno, re, posixpath, copy import tempfile, zlib, shutil -# On python2.4 you have to import these by name or they fail to -# load. This was not a problem on Python 2.7. -import email.Generator -import email.Parser from i18n import _ from node import hex, short