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

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



commit 560194bb1f4f25975cde6123fde75e7ff3754ddb
Author: Ana Custura <ana@xxxxxxxxxxxxxx>
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
 
 



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