LFUtils: Remove unused init, the second one was the one which was actually used

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-06 17:26:36 -08:00
parent d31adb049c
commit 5fdadbda64

View File

@@ -83,11 +83,6 @@ class PortEID:
port_id = 0
port_name = ""
def __init__(self, p_resource=1, p_port_id=0, p_port_name=""):
resource = p_resource
port_id = p_port_id
port_name = p_port_name
def __init__(self, json_response):
if json_response is None:
raise Exception("No json input")
@@ -96,9 +91,6 @@ class PortEID:
json_s = json_response['interface']
debug_printer(json_s)
resource = json_s['resource']
port_id = json_s['id']
port_name = json_s['name']
# end class PortEID