Bootstrap: print URLs being downloaded.

This commit is contained in:
Simon Sapin 2017-10-18 22:45:12 +02:00
parent efdaa0d00a
commit 1f4c0c63de

View file

@ -64,9 +64,9 @@ def host_triple():
def download(desc, src, writer, start_byte=0):
if start_byte:
print("Resuming download of {}...".format(desc))
print("Resuming download of {} ...".format(src))
else:
print("Downloading {}...".format(desc))
print("Downloading {} ...".format(src))
dumb = (os.environ.get("TERM") == "dumb") or (not sys.stdout.isatty())
try: