projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1aea98
)
Unify the output of progress bars
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Tue, 24 Apr 2012 14:40:46 +0000
(17:40 +0300)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Tue, 24 Apr 2012 14:40:46 +0000
(17:40 +0300)
image_creator/kamaki_wrapper.py
patch
|
blob
|
history
diff --git
a/image_creator/kamaki_wrapper.py
b/image_creator/kamaki_wrapper.py
index
ffe0158
..
e3c249e
100644
(file)
--- a/
image_creator/kamaki_wrapper.py
+++ b/
image_creator/kamaki_wrapper.py
@@
-53,6
+53,10
@@
def progress(message):
progressbar = Bar(msg.ljust(MSG_LENGTH))
progressbar.max = n
+ progressbar.fill = '#'
+ progressbar.bar_prefix = ' ['
+ progressbar.bar_suffix = '] '
+
for _ in range(n):
yield
progressbar.next()