Patchwork [06,of,10,V3,py3,support] patchbomb: correct import of email module

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 5:19 p.m.
Message ID <ef6728a31d2c92c8012c.1379697577@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2570/
State Accepted
Commit f4b72cad29f86a3a90e9f45046b264d899112777
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686595 14400
#      Fri Sep 20 10:16:35 2013 -0400
# Node ID ef6728a31d2c92c8012cdea17322af1b7c3b66c0
# Parent  cda7601831f87cfdc92b5df60646e5a236da0fdf
patchbomb: correct import of email module

Patch

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 _