comparison mercurial/worker.py @ 25992:2d76f8a2d831

worker: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 18:44:41 -0700
parents 328739ea70c3
children d29859cfcfc2
comparison
equal deleted inserted replaced
25991:d21d1774c73b 25992:2d76f8a2d831
3 # Copyright 2013 Facebook, Inc. 3 # Copyright 2013 Facebook, Inc.
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 __future__ import absolute_import
9 import errno, os, signal, sys, threading 9
10 import util 10 import errno
11 import os
12 import signal
13 import sys
14 import threading
15
16 from .i18n import _
17 from . import util
11 18
12 def countcpus(): 19 def countcpus():
13 '''try to count the number of CPUs on the system''' 20 '''try to count the number of CPUs on the system'''
14 21
15 # posix 22 # posix