mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Try / rather than
This commit is contained in:
@@ -11,7 +11,7 @@ def main():
|
|||||||
days_to_keep = int(sys.argv[2])
|
days_to_keep = int(sys.argv[2])
|
||||||
print(f"Looking for binaries to delete older than {days_to_keep} days")
|
print(f"Looking for binaries to delete older than {days_to_keep} days")
|
||||||
|
|
||||||
files_lines = execute_cli(f"b2 ls --long --versions {bucket} nightly").split("\n")
|
files_lines = execute_cli(f"b2 ls --long --versions {bucket}/nightly").split("\n")
|
||||||
print(files_lines)
|
print(files_lines)
|
||||||
for x in files_lines:
|
for x in files_lines:
|
||||||
parts = [y for y in x.split(' ') if y]
|
parts = [y for y in x.split(' ') if y]
|
||||||
|
|||||||
Reference in New Issue
Block a user