commit 846470f8ad5aee87bd7e70e065dbbea2eeb64323 Author: juga0 juga@riseup.net Date: Mon Jul 23 20:01:03 2018 +0000
Delete also v3bw.gz files --- sbws/core/cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/core/cleanup.py b/sbws/core/cleanup.py index 0a8daf3..d300997 100644 --- a/sbws/core/cleanup.py +++ b/sbws/core/cleanup.py @@ -174,7 +174,7 @@ def _clean_v3bw_files(args, conf): # first delete so that the files to be deleted are not compressed first files_to_delete = _get_files_mtime_older_than(v3bw_dname, delete_after_days, - ['.v3bw']) + ['.v3bw', 'v3bw.gz']) _delete_files(v3bw_dname, files_to_delete, dry_run=args.dry_run) files_to_compress = _get_files_mtime_older_than(v3bw_dname, compress_after_days,
tor-commits@lists.torproject.org