comparison mercurial/worker.py @ 18914:05d5821e0dc8

worker: add missing import of errno Found using Cython.
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 12 Apr 2013 17:16:37 -0700
parents 779e3d9b7a1d
children 3185b347ae98
comparison
equal deleted inserted replaced
18913:79580b3140cd 18914:05d5821e0dc8
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 os, signal, sys, threading, util 9 import errno, os, signal, sys, threading, util
10 10
11 def countcpus(): 11 def countcpus():
12 '''try to count the number of CPUs on the system''' 12 '''try to count the number of CPUs on the system'''
13 13
14 # posix 14 # posix