Merge pull request #833 from mkg20001/feat-ci-mode
Add ci_mode to toggle download progress, fixes #823
This commit is contained in:
commit
46bcf9575c
1 changed files with 3 additions and 2 deletions
|
@ -692,8 +692,9 @@ class Buildozer(object):
|
|||
else:
|
||||
progression = '{0:.2f}%'.format(
|
||||
index * blksize * 100. / float(size))
|
||||
stdout.write('- Download {}\r'.format(progression))
|
||||
stdout.flush()
|
||||
if "CI" not in environ:
|
||||
stdout.write('- Download {}\r'.format(progression))
|
||||
stdout.flush()
|
||||
|
||||
url = url + filename
|
||||
if cwd:
|
||||
|
|
Loading…
Add table
Reference in a new issue