Mercurial > public > mercurial-scm > hg
diff mercurial/mdiff.py @ 20034:1e5b38a919dd
cleanup: move stdlib imports to their own import statement
There are a few warnings still produced by my import checker, but
those are false positives produced by modules that share a name with
stdlib modules.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 06 Nov 2013 16:48:06 -0500 |
parents | 1e13b1184292 |
children | 3fbef7ac26f0 |
line wrap: on
line diff
--- a/mercurial/mdiff.py Wed Nov 06 18:19:04 2013 -0500 +++ b/mercurial/mdiff.py Wed Nov 06 16:48:06 2013 -0500 @@ -6,8 +6,8 @@ # GNU General Public License version 2 or any later version. from i18n import _ -import bdiff, mpatch, util -import re, struct, base85, zlib +import bdiff, mpatch, util, base85 +import re, struct, zlib def splitnewlines(text): '''like str.splitlines, but only split on newlines.'''