[PATCH 04 of 13 V2 py3 support] patch: correct import of email module
Augie Fackler
raf at durin42.com
Fri Sep 20 09:23:42 CDT 2013
# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1379686551 14400
# Fri Sep 20 10:15:51 2013 -0400
# Node ID bf06b242df1e84113ab661e9128af90448f2df13
# Parent 7b7fcecd91f45e3c5234fa087ecdc892115ea0fc
patch: correct import of email module
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 _
More information about the Mercurial-devel
mailing list