Update delete_old_binaries.py
This commit is contained in:
1 parent
a0b1b8d1c3
commit
c2ddf4266f
1 file changed
+2
-2
@@ -21,8 +21,8 @@ def main():
|
|||||||
delta = now - date
|
delta = now - date
|
||||||
|
|
||||||
if delta.days > days_to_keep:
|
if delta.days > days_to_keep:
|
||||||
print(f'Deleting {parts[5]}')
|
print(f'Deleting b2://{bucket}/{parts[5]}')
|
||||||
execute_cli(f'b2 rm {parts[0]}')
|
execute_cli(f'b2 rm b2://{bucket}/{parts[5]}')
|
||||||
|
|
||||||
|
|
||||||
def execute_cli(command):
|
def execute_cli(command):
|
||||||
|
|||||||
Reference in new issue
Block a user