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

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 2:23 p.m.
Message ID <b921835065ad98cec7d1.1379687025@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2554/
State Superseded
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 2:23 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686595 14400
#      Fri Sep 20 10:16:35 2013 -0400
# Node ID b921835065ad98cec7d1565ae288440ca6bda1a5
# Parent  f8df24eec452d382fc35c2061380daf32f95e4ef
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 _