[PATCH 2 of 6] patch: move mercurial-specific imports after stdlib imports

Augie Fackler durin42 at gmail.com
Mon Apr 19 18:16:35 CDT 2010


# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1271528037 18000
# Node ID 770259a595496ad1c0dbef373e5464c1e4c6d5f1
# Parent  7dce8fff9fc7ba801afe5136372d8be16885225f
patch: move mercurial-specific imports after stdlib imports

diff --git a/mercurial/patch.py b/mercurial/patch.py
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -6,11 +6,12 @@
 # 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, re
+import tempfile, zlib
+
 from i18n import _
 from node import hex, nullid, short
 import base85, cmdutil, mdiff, util, diffhelpers, copies
-import cStringIO, email.Parser, os, re
-import tempfile, zlib
 
 gitre = re.compile('diff --git a/(.*) b/(.*)')
 


More information about the Mercurial-devel mailing list