init: Respect --quiet option when synching manifest repository

Change-Id: Ib58b7dd971670e0888e6428333050700e776b0de
This commit is contained in:
David Pursehouse 2016-08-14 18:02:32 +09:00
parent 69297c1b77
commit 438eade413

View File

@ -222,7 +222,7 @@ to update the working directory files.
'in another location.', file=sys.stderr) 'in another location.', file=sys.stderr)
sys.exit(1) sys.exit(1)
if not m.Sync_NetworkHalf(is_new=is_new): if not m.Sync_NetworkHalf(is_new=is_new, quiet=opt.quiet):
r = m.GetRemote(m.remote.name) r = m.GetRemote(m.remote.name)
print('fatal: cannot obtain manifest %s' % r.url, file=sys.stderr) print('fatal: cannot obtain manifest %s' % r.url, file=sys.stderr)