Commit 4787037b authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Remove the goto(1) empty progress bar workaround

Add progress >= 1.0.2 as install_dependency, since this is the version
that fixed the empty progress bar problem.
parent 3f4e2409
......@@ -111,8 +111,8 @@ class OutputWthProgress(SimpleOutput):
self.suffix = self.template[bar_type]
self.max = size
# print empty progress bar workaround
self.goto(1)
# print empty progress bar
self.start()
def success(self, result):
self.output.output("\r%s...\033[K" % self.title, False)
......
......@@ -46,7 +46,7 @@ setup(
license='BSD',
packages=find_packages(),
include_package_data=True,
install_requires=['pbs', 'ansicolors', 'progress', 'pysendfile'],
install_requires=['pbs', 'ansicolors', 'progress>=1.0.2', 'pysendfile'],
entry_points={
'console_scripts': [
'snf-image-creator = image_creator.main:main',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment