Mercurial > hg
changeset 25992:2d76f8a2d831
worker: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 18:44:41 -0700 |
parents | d21d1774c73b |
children | 0851678be71b |
files | mercurial/worker.py |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/worker.py Sat Aug 08 18:48:10 2015 -0700 +++ b/mercurial/worker.py Sat Aug 08 18:44:41 2015 -0700 @@ -5,9 +5,16 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from i18n import _ -import errno, os, signal, sys, threading -import util +from __future__ import absolute_import + +import errno +import os +import signal +import sys +import threading + +from .i18n import _ +from . import util def countcpus(): '''try to count the number of CPUs on the system'''