[PATCH 07 of 13 V2 py3 support] patchbomb: correct import of email module

Augie Fackler raf at durin42.com
Fri Sep 20 09:23:45 CDT 2013


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1379686595 14400
#      Fri Sep 20 10:16:35 2013 -0400
# Node ID b921835065ad98cec7d1565ae288440ca6bda1a5
# Parent  f8df24eec452d382fc35c2061380daf32f95e4ef
patchbomb: correct import of email module

diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -46,8 +46,7 @@
 '''
 
 import os, errno, socket, tempfile, cStringIO
-import email.MIMEMultipart, email.MIMEBase
-import email.Utils, email.Encoders, email.Generator
+import email
 from mercurial import cmdutil, commands, hg, mail, patch, util
 from mercurial import scmutil
 from mercurial.i18n import _


More information about the Mercurial-devel mailing list