comparison mercurial/progress.py @ 25968:1139d7cf9405

progress: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:57:10 -0700
parents 56674fd6dabc
children 72bccc1f26b1
comparison
equal deleted inserted replaced
25967:224a33452ed4 25968:1139d7cf9405
3 # Copyright (C) 2010 Augie Fackler <durin42@gmail.com> 3 # Copyright (C) 2010 Augie Fackler <durin42@gmail.com>
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 __future__ import absolute_import
9
8 import sys 10 import sys
11 import threading
9 import time 12 import time
10 import threading 13
11 from mercurial import encoding 14 from .i18n import _
12 15 from . import encoding
13 from mercurial.i18n import _
14
15 16
16 def spacejoin(*args): 17 def spacejoin(*args):
17 return ' '.join(s for s in args if s) 18 return ' '.join(s for s in args if s)
18 19
19 def shouldprint(ui): 20 def shouldprint(ui):