mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 20:14:57 +00:00
Revert "Fix error regarding the non_port flag"
This reverts commit e88a0e2b52.
This commit is contained in:
@@ -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)
|
return wait_until_ports_appear(base_url, port_list, debug=debug)
|
||||||
|
|
||||||
def name_to_eid(input, non_port=False):
|
def name_to_eid(input, non_port=False):
|
||||||
if non_port:
|
rv = [1, 1, "", ""]
|
||||||
rv = [1, 1, "", ""]
|
|
||||||
else:
|
|
||||||
rv = [1, 1, ""]
|
|
||||||
info = []
|
info = []
|
||||||
if (input is None) or (input == ""):
|
if (input is None) or (input == ""):
|
||||||
raise ValueError("name_to_eid wants eid like 1.1.sta0 but given[%s]" % input)
|
raise ValueError("name_to_eid wants eid like 1.1.sta0 but given[%s]" % input)
|
||||||
|
|||||||
Reference in New Issue
Block a user