1
0
Fork 0

Merging upstream version 0.10.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 13:52:11 +01:00
parent 2625ec8580
commit cbd8ff99bc
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
5 changed files with 97 additions and 15 deletions

View file

@ -494,12 +494,12 @@ class ObjectDownloader:
hash_result = self._compute_hash_sh512sum(
file=file_downloaded, hash_expected=hash_expected
)
if not hash_result:
logger.error("Downloaded file is corrupted, please check your connection")
console.print(
"❌ Downloaded file is corrupted, please check your connection"
)
return False
if not hash_result:
logger.error("Downloaded file is corrupted, please check your connection")
console.print(
"❌ Downloaded file is corrupted, please check your connection"
)
return False
logger.info("Downloaded file is correct.")
console.print("✅ Downloaded file is correct.")
return True