test: Move Fetching-print to download_from_url util

This does not change any behavior.
This commit is contained in:
MarcoFalke committed 2026-02-26 16:55:54 +01:00
1 parent faf96286ce
commit 7777a13306
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ import urllib.request
def download_from_url(url, archive):
print(f"Fetching: {url}")
last_print_time = time.time()
def progress_hook(progress_bytes, total_size):
-2
View File
@@ -129,8 +129,6 @@ def download_binary(tag, args) -> int:
archive = f'bitcoin-{tag[1:]}-{host}.{archive_format}'
archive_url = f'https://bitcoincore.org/{bin_path}/{archive}'
print(f'Fetching: {archive_url}')
try:
download_from_url(archive_url, archive)
except Exception as e: