X-Git-Url: https://code.grnet.gr/git/snf-image-creator/blobdiff_plain/b1aea98e08ba089bf9199fff0f37f5a468951b8b..5886f568337cad55facff1132344374553bd8b1f:/image_creator/kamaki_wrapper.py diff --git a/image_creator/kamaki_wrapper.py b/image_creator/kamaki_wrapper.py index ffe0158..e3c249e 100644 --- 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()