Release the kracken
This commit is contained in:
parent
e0f4c4f654
commit
843bf00850
@ -37,7 +37,7 @@ def download(path, file):
|
|||||||
)
|
)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
print(f"Removing {path}/{file}")
|
print(f"Removing {path}/{file}")
|
||||||
# os.remove(f"{path}/{file}")
|
os.remove(f"{path}/{file}")
|
||||||
print("Waiting for 10 minutes ...")
|
print("Waiting for 10 minutes ...")
|
||||||
time.sleep(10 * 60)
|
time.sleep(10 * 60)
|
||||||
download(path, file)
|
download(path, file)
|
||||||
@ -85,14 +85,14 @@ def remove(path):
|
|||||||
to_remove.append(name)
|
to_remove.append(name)
|
||||||
|
|
||||||
if len(to_remove) > 100:
|
if len(to_remove) > 100:
|
||||||
print("Too much to delete, this is the list:")
|
print("Too much to delete:")
|
||||||
|
|
||||||
for be_removed in to_remove:
|
for be_removed in to_remove:
|
||||||
print(be_removed)
|
print(be_removed)
|
||||||
else:
|
else:
|
||||||
for be_removed in to_remove:
|
for be_removed in to_remove:
|
||||||
print(f"Removing {be_removed}")
|
print(f"Removing {be_removed}")
|
||||||
# os.remove(be_removed)
|
os.remove(be_removed)
|
||||||
|
|
||||||
|
|
||||||
remove("nsz/base")
|
remove("nsz/base")
|
||||||
|
Loading…
Reference in New Issue
Block a user