Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ancestor.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 | 3605d4e7e618 |
children | 4add43865a9b |
line wrap: on
line diff
--- a/mercurial/ancestor.py Wed Nov 06 18:19:04 2013 -0500 +++ b/mercurial/ancestor.py Wed Nov 06 16:48:06 2013 -0500 @@ -5,7 +5,8 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import heapq, util +import heapq +import util from node import nullrev def ancestors(pfunc, *orignodes):