[tor-commits] [onionperf/master] Updates pattern for matching analysis files

karsten at torproject.org karsten at torproject.org
Wed Jun 3 13:39:29 UTC 2020


commit 7f70fc8cdfffd9917bad6fa7b001ed8fbcceda42
Author: Ana Custura <ana at netstat.org.uk>
Date:   Wed Jun 3 10:56:17 2020 +0100

    Updates pattern for matching analysis files
---
 onionperf/onionperf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionperf/onionperf b/onionperf/onionperf
index 2c92703..9c7f290 100755
--- a/onionperf/onionperf
+++ b/onionperf/onionperf
@@ -474,7 +474,7 @@ class PathStringArgsAction(argparse.Action):
             if not os.path.exists(p): raise argparse.ArgumentError(self, "The supplied path does not exist: '{0}'".format(p))
             if os.path.isdir(p):
                 from onionperf import reprocessing
-                dir_paths.extend(reprocessing.collect_logs(item, "*json*"))
+                dir_paths.extend(reprocessing.collect_logs(item, "*onionperf.analysis.json*"))
 
         # remove any directories from the list of paths
         paths = [p for p in paths if not os.path.isdir(p)]





More information about the tor-commits mailing list