patchbomb: stop explicit import required by Python 2.4
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 18 May 2015 16:22:15 -0500
changeset 25202 a363c058872a
parent 25201 59d794154e8d
child 25203 d4ccc455c953
patchbomb: stop explicit import required by Python 2.4 Ding Dong, the witch is dead!
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Mon May 18 16:20:12 2015 -0500
+++ b/hgext/patchbomb.py	Mon May 18 16:22:15 2015 -0500
@@ -59,10 +59,6 @@
 
 import os, errno, socket, tempfile, cStringIO
 import email
-# 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.MIMEMultipart
 
 from mercurial import cmdutil, commands, hg, mail, patch, util
 from mercurial import scmutil