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

[tor-commits] [sbws/master] Log list of allowed extensions, not the extension that the file has



commit 84cb78d655e3fcf3e7d98bb9f157341e7a80ee34
Author: Matt Traudt <sirmatt@xxxxxxx>
Date:   Wed Aug 1 19:21:05 2018 -0400

    Log list of allowed extensions, not the extension that the file has
---
 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 d300997..3f677a0 100644
--- a/sbws/core/cleanup.py
+++ b/sbws/core/cleanup.py
@@ -54,7 +54,7 @@ def _get_files_mtime_older_than(dname, days_delta, extensions):
             _, ext = os.path.splitext(fname)
             if ext not in extensions:
                 log.debug('Ignoring %s because its extension is not in '
-                          '%s', fname, ext)
+                          '%s', fname, extensions)
                 continue
             # using file modification time instead of parsing the name
             # of the file.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits