[onionperf/master] Remove if condition that checks for args.model.

commit e580cb885d9bb18298f65c04e541d2152a8e7a0e Author: Karsten Loesing <karsten.loesing@gmx.net> Date: Sat Jun 6 08:13:58 2020 +0200 Remove if condition that checks for args.model. Spotted by phw, part of #29370. --- onionperf/onionperf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/onionperf/onionperf b/onionperf/onionperf index 6078d46..74285d1 100755 --- a/onionperf/onionperf +++ b/onionperf/onionperf @@ -328,13 +328,6 @@ def measure(args): # validate paths and run if args.torpath is not None and args.tgenpath is not None: os.chdir(args.prefix) - if args.model: - # load custom model instead of Torperf model - pass - else: - # build a Torperf model - # model.TorperfModel(tgen_port="{0}".format(tgen_port), tgen_servers=server_urls, socksproxy="127.0.0.1:{0}".format(socks_port)) - pass client_connect_ip = args.tgenconnectip client_connect_port = args.tgenconnectport
participants (1)
-
karsten@torproject.org