From 174cc448931ffcc73a8799de14ee67b444255b9b Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Tue, 3 Mar 2020 09:02:36 -0800 Subject: [PATCH] LFUtils: uses more appropriate assignment operators for python 3.5.x --- py-json/LANforge/LFUtils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/py-json/LANforge/LFUtils.py b/py-json/LANforge/LFUtils.py index 65404952..8cd2e0ee 100644 --- a/py-json/LANforge/LFUtils.py +++ b/py-json/LANforge/LFUtils.py @@ -25,10 +25,10 @@ REPORT_TIMER_MS_SLOW = 3000 class PortEID: - shelf: 1 - resource: 1 - port_id: 0 - port_name: "" + shelf = 1 + resource = 1 + port_id = 0 + port_name = "" def __init__(self, p_resource=1, p_port_id=0, p_port_name=""): resource = p_resource @@ -318,4 +318,4 @@ def waitUntilPortsAppear(resource_id=1, base_url="http://localhost:8080", port_l print("These stations appeared: "+", ".join(found_stations)) return None - ### \ No newline at end of file + ###