summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2012-09-19 16:27:20 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2012-09-19 16:27:20 +0200
commit85ab556235a3b6da012ee731baf48830cb269765 (patch)
tree0ad25d85733fd32c7451e4ca22caf0dccf267ded
parent67c979e7c4eb8178da7869276a7c706491ba9508 (diff)
downloadlogilab-common-85ab556235a3b6da012ee731baf48830cb269765.tar.gz
[shellutils] fill progress bars with '=' not '.'
-rw-r--r--shellutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shellutils.py b/shellutils.py
index 749cbac..60ef602 100644
--- a/shellutils.py
+++ b/shellutils.py
@@ -338,7 +338,7 @@ class ProgressBar(object):
def refresh(self):
"""Refresh the progression bar display."""
- self._stream.write(self._fstr % ('.' * min(self._progress, self._size)) )
+ self._stream.write(self._fstr % ('=' * min(self._progress, self._size)) )
if self._last_text_write_size or self._current_text:
template = ' %%-%is' % (self._last_text_write_size)
text = self._current_text