Patchwork [04,of,13,V2,py3,support] patch: correct import of email module

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

Comments

Augie Fackler - Sept. 20, 2013, 2:23 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686551 14400
#      Fri Sep 20 10:15:51 2013 -0400
# Node ID bf06b242df1e84113ab661e9128af90448f2df13
# Parent  7b7fcecd91f45e3c5234fa087ecdc892115ea0fc
patch: correct import of email module

Patch

diff --git a/mercurial/patch.py b/mercurial/patch.py
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -6,7 +6,7 @@ 
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import cStringIO, email.Parser, os, errno, re, posixpath
+import cStringIO, email, os, errno, re, posixpath
 import tempfile, zlib, shutil
 
 from i18n import _