[tor-commits] [onionperf/master] Reintroduces oneshot argument to measurement class constructor

irl at torproject.org irl at torproject.org
Tue Feb 26 18:41:43 UTC 2019


commit da26c9133bf6cb8f68d019949a82f45aa87993f8
Author: Ana Custura <ana at nestat.org.uk>
Date:   Tue Feb 26 17:52:04 2019 +0100

    Reintroduces oneshot argument to measurement class constructor
---
 onionperf/measurement.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionperf/measurement.py b/onionperf/measurement.py
index 052ae73..0318ea3 100644
--- a/onionperf/measurement.py
+++ b/onionperf/measurement.py
@@ -160,7 +160,7 @@ def logrotate_thread_task(writables, tgen_writable, torctl_writable, docroot, ni
 
 class Measurement(object):
 
-    def __init__(self, tor_bin_path, tgen_bin_path, datadir_path, nickname):
+    def __init__(self, tor_bin_path, tgen_bin_path, datadir_path, nickname, oneshot):
         self.tor_bin_path = tor_bin_path
         self.tgen_bin_path = tgen_bin_path
         self.datadir_path = datadir_path



More information about the tor-commits mailing list