From 3820a85db70621dd1f7faa1d45242b66647a59f8 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 12 Apr 2021 20:04:06 -0700 Subject: [PATCH] Revert "Fix error regarding the non_port flag" This reverts commit e88a0e2b52b3bd0ac2b1e49bf065baab9e3e54fd. --- py-json/LANforge/LFUtils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/py-json/LANforge/LFUtils.py b/py-json/LANforge/LFUtils.py index e0be3f6b..464c1e21 100644 --- a/py-json/LANforge/LFUtils.py +++ b/py-json/LANforge/LFUtils.py @@ -550,10 +550,7 @@ def waitUntilPortsAppear(base_url="http://localhost:8080", port_list=(), debug=F return wait_until_ports_appear(base_url, port_list, debug=debug) def name_to_eid(input, non_port=False): - if non_port: - rv = [1, 1, "", ""] - else: - rv = [1, 1, ""] + rv = [1, 1, "", ""] info = [] if (input is None) or (input == ""): raise ValueError("name_to_eid wants eid like 1.1.sta0 but given[%s]" % input)