mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-05 14:01:33 +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 == '':
|
if block == '':
|
||||||
break
|
break
|
||||||
out.write(block)
|
out.write(block)
|
||||||
sys.stdout.write('.')
|
Logger.stdout.write('.')
|
||||||
sys.stdout.flush()
|
Logger.stdout.flush()
|
||||||
in_.close()
|
in_.close()
|
||||||
out.close()
|
out.close()
|
||||||
sys.stdout.write(' done\n')
|
Logger.stdout.write(' done\n')
|
||||||
sys.stdout.flush()
|
Logger.stdout.flush()
|
||||||
if self.dsc and not url.endswith('.dsc'):
|
if self.dsc and not url.endswith('.dsc'):
|
||||||
if not self.dsc.verify_file(pathname):
|
if not self.dsc.verify_file(pathname):
|
||||||
Logger.error('Checksum does not match.')
|
Logger.error('Checksum does not match.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user