##// END OF EJS Templates
worker: use absolute_import
Gregory Szorc -
r25992:2d76f8a2 default
parent child Browse files
Show More
@@ -5,9 +5,16 b''
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'''
General Comments 0
You need to be logged in to leave comments. Login now