Always print percentage when syncing quietly

Change-Id: I574396e63520781067ed1e991c41caf7640e5731
This commit is contained in:
Tim Schumacher
2017-06-28 18:29:23 +02:00
parent 224a31a765
commit 7be072efa6
2 changed files with 6 additions and 3 deletions

View File

@ -357,7 +357,8 @@ later is required to fix a server side protocol bug.
fetched = set()
lock = _threading.Lock()
pm = Progress('Fetching projects', len(projects),
print_newline=not(opt.quiet))
print_newline=not(opt.quiet),
always_print_percentage=opt.quiet)
objdir_project_map = dict()
for project in projects: