commit e580cb885d9bb18298f65c04e541d2152a8e7a0e
Author: Karsten Loesing <[email protected]>
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

_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to