Merge "Always print percentage when syncing quietly"

This commit is contained in:
David Pursehouse
2017-08-02 07:01:08 +00:00
committed by Gerrit Code Review
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: