Patchwork [04,of,10,V3,py3,support] patch: correct import of email module

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

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686551 14400
#      Fri Sep 20 10:15:51 2013 -0400
# Node ID 051be411edfb17ba67a1e2bde3d25c5b3e623461
# Parent  b039ade816515f7d0c5d64034bc4bc407158ca3a
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 _