Mercurial > hg
changeset 10965:7faef79a89c7
patch: move mercurial-specific imports after stdlib imports
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 17 Apr 2010 13:13:57 -0500 |
parents | aa0426c79664 |
children | 91c58cf54eee |
files | mercurial/patch.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/patch.py Fri Apr 16 14:24:40 2010 -0500 +++ b/mercurial/patch.py Sat Apr 17 13:13:57 2010 -0500 @@ -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/(.*)')