Try / rather than
This commit is contained in:
1 parent
c8f9af64db
commit
17225131f7
1 file changed
+1
-1
@@ -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