Skip to content

Commit 933a103

Browse files
committed
Tweak verbosity to hopefully better match intuitive expectations
1 parent 912a9d0 commit 933a103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/bootstrap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ def get(url, path, verbose=False):
3232
try:
3333
download(sha_path, sha_url, verbose)
3434
if os.path.exists(path):
35-
if verify(path, sha_path, verbose):
35+
if verify(path, sha_path, False):
3636
print("using already-download file " + path)
3737
return
3838
else:
3939
print("ignoring already-download file " + path + " due to failed verification")
4040
os.unlink(path)
4141
download(temp_path, url, verbose)
42-
if not verify(temp_path, sha_path, verbose):
42+
if not verify(temp_path, sha_path, True):
4343
raise RuntimeError("failed verification")
4444
print("moving {} to {}".format(temp_path, path))
4545
shutil.move(temp_path, path)

0 commit comments

Comments
 (0)