mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
Help testing: Write download progress to Logger's streams
This commit is contained in:
parent
26c2198838
commit
b78922b14a
@ -273,12 +273,12 @@ class SourcePackage(object):
|
||||
if block == '':
|
||||
break
|
||||
out.write(block)
|
||||
sys.stdout.write('.')
|
||||
sys.stdout.flush()
|
||||
Logger.stdout.write('.')
|
||||
Logger.stdout.flush()
|
||||
in_.close()
|
||||
out.close()
|
||||
sys.stdout.write(' done\n')
|
||||
sys.stdout.flush()
|
||||
Logger.stdout.write(' done\n')
|
||||
Logger.stdout.flush()
|
||||
if self.dsc and not url.endswith('.dsc'):
|
||||
if not self.dsc.verify_file(pathname):
|
||||
Logger.error('Checksum does not match.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user