progress: fix adding format elements after the progress bar

Prior to this change, format elements after the progress bar would
show up in the wrong order.
This commit is contained in:
Augie Fackler 2010-12-15 10:20:36 -06:00
parent 61faaef57b
commit 5d0aeb403a

View File

@ -131,7 +131,7 @@ class progbar(object):
if not needprogress:
head = spacejoin(head, add)
else:
tail = spacejoin(add, tail)
tail = spacejoin(tail, add)
if needprogress:
used = 0
if head: