Fix error regarding the non_port flag

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-04-12 17:00:18 -07:00
parent 11b3fd96f1
commit e88a0e2b52

View File

@@ -550,7 +550,10 @@ 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):
rv = [1, 1, "", ""]
if non_port:
rv = [1, 1, "", ""]
else:
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)