[tor-commits] [sbws/master] Delete also v3bw.gz files

pastly at torproject.org pastly at torproject.org
Thu Aug 9 14:21:19 UTC 2018


commit 846470f8ad5aee87bd7e70e065dbbea2eeb64323
Author: juga0 <juga at 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,





More information about the tor-commits mailing list