comparison 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
comparison
equal deleted inserted replaced
20033:f962870712da 20034:1e5b38a919dd
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from i18n import _ 8 from i18n import _
9 import errno, os, signal, sys, threading, util 9 import errno, os, signal, sys, threading
10 import util
10 11
11 def countcpus(): 12 def countcpus():
12 '''try to count the number of CPUs on the system''' 13 '''try to count the number of CPUs on the system'''
13 14
14 # posix 15 # posix