181
181
# number of markers highlighted in bar
182
182
markers = int(round(float(cols) * current_cnt / total_cnt))
183
183
bar_str = '[' + ('=' * markers).ljust(cols) + '] '
185
185
# don't know total, so can't show completion.
186
186
# so just show an expanded spinning thingy
188
188
ms = (' ' * m + '*').ljust(cols)
190
190
bar_str = '[' + ms + '] '