Mercurial > public > mercurial-scm > hg-stable
diff mercurial/worker.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 | c7ec39c1a381 |
children | b3e51675f98e |
line wrap: on
line diff
--- a/mercurial/worker.py Wed Nov 06 18:19:04 2013 -0500 +++ b/mercurial/worker.py Wed Nov 06 16:48:06 2013 -0500 @@ -6,7 +6,8 @@ # GNU General Public License version 2 or any later version. from i18n import _ -import errno, os, signal, sys, threading, util +import errno, os, signal, sys, threading +import util def countcpus(): '''try to count the number of CPUs on the system'''