[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 846470f8ad5aee87bd7e70e065dbbea2eeb64323
Author: juga0 <juga@xxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits