[tor-commits] [sbws/master] Cleanup clean all types of files unless otherwise

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


commit 26fe323880eb4b6c06b8d8508fb5bbc854c37128
Author: juga0 <juga at riseup.net>
Date:   Tue Jul 17 16:33:49 2018 +0000

    Cleanup clean all types of files unless otherwise
    
    specified
---
 sbws/core/cleanup.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sbws/core/cleanup.py b/sbws/core/cleanup.py
index bce90fb..3c4c8f8 100644
--- a/sbws/core/cleanup.py
+++ b/sbws/core/cleanup.py
@@ -26,6 +26,11 @@ def gen_parser(sub):
                        formatter_class=ArgumentDefaultsHelpFormatter)
     p.add_argument('--dry-run', action='store_true',
                    help='Don\'t actually compress or delete anything')
+    p.add_argument('--no-results', action='store_true',
+                   help='Do not clean results files')
+    p.add_argument('--no-v3bw', action='store_true',
+                   help='Do not clean v3bw files')
+
 
 
 def _get_older_files_than(dname, num_days_ago, extensions):





More information about the tor-commits mailing list