Commit e580cb88 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Remove if condition that checks for args.model.

Spotted by phw, part of #29370.
parent 17b0cf42
Loading
Loading
Loading
Loading
+0 −7
Changes for onionperf/onionperf: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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