[tor-commits] [onionperf/develop] Remove stream_summary from analysis results

karsten at torproject.org karsten at torproject.org
Tue Jul 14 07:04:32 UTC 2020


commit 560194bb1f4f25975cde6123fde75e7ff3754ddb
Author: Ana Custura <ana at netstat.org.uk>
Date:   Fri Jul 10 21:03:19 2020 +0100

    Remove stream_summary from analysis results
---
 onionperf/analysis.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/onionperf/analysis.py b/onionperf/analysis.py
index 64b4b5b..53d879c 100644
--- a/onionperf/analysis.py
+++ b/onionperf/analysis.py
@@ -65,8 +65,9 @@ class OPAnalysis(Analysis):
                     self.measurement_ip = "unknown"
 
                 self.json_db['data'].setdefault(self.nickname, {'measurement_ip' : self.measurement_ip}).setdefault(json_db_key, parser.get_data())
-                self.json_db['data'][self.nickname]["tgen"].pop("heartbeats")
-                self.json_db['data'][self.nickname]["tgen"].pop("init_ts")
+        self.json_db['data'][self.nickname]["tgen"].pop("heartbeats")
+        self.json_db['data'][self.nickname]["tgen"].pop("init_ts")
+        self.json_db['data'][self.nickname]["tgen"].pop("stream_summary")
         self.did_analysis = True
 
 





More information about the tor-commits mailing list