test: Move Fetching-print to download_from_url util

This does not change any behavior.
This commit is contained in:
MarcoFalke 2026-02-26 12:44:54 +01:00
parent faf96286ce
commit 7777a13306
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

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):

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: