[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionperf/master] Wraps function arguments in quotes
commit 005fe9a95f49f2cdbac7ca3b47ac8ddb4b5aad39
Author: Ana Custura <ana@xxxxxxxxxxxxx>
Date: Tue Feb 26 17:49:26 2019 +0100
Wraps function arguments in quotes
---
onionperf/measurement.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/onionperf/measurement.py b/onionperf/measurement.py
index cd8b038..052ae73 100644
--- a/onionperf/measurement.py
+++ b/onionperf/measurement.py
@@ -323,9 +323,9 @@ class Measurement(object):
else:
tgen_model_args = {
- tgen_port: "{0}".format(tgen_port),
- tgen_servers: server_urls,
- socksproxy: "127.0.0.1:{0}".format(socks_port)
+ "tgen_port": "{0}".format(tgen_port),
+ "tgen_servers": server_urls,
+ "socksproxy": "127.0.0.1:{0}".format(socks_port)
}
if self.oneshot:
tgen_model = model.OneshotModel(**tgen_model_args)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits