mercurial/patch.py
changeset 25644 c99f9715cc9a
parent 25631 2748bf78a5bf
child 25658 e93036747902
--- 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