##// END OF EJS Templates
progress: simplify spacejoin()
Brodie Rao -
r10452:59f8fff4 default
parent child Browse files
Show More
@@ -47,13 +47,7 b' from mercurial import extensions'
47 from mercurial import util
47 from mercurial import util
48
48
49 def spacejoin(*args):
49 def spacejoin(*args):
50 ret = ''
50 return ' '.join(s for s in args if s)
51 for s in args:
52 if s:
53 if ret:
54 ret += ' '
55 ret += s
56 return ret
57
51
58 class progbar(object):
52 class progbar(object):
59 def __init__(self, ui):
53 def __init__(self, ui):
General Comments 0
You need to be logged in to leave comments. Login now