opc_ua/client.py
branchpython3
changeset 3750 f62625418bff
parent 3718 7841b651d601
child 3820 46f3ca3f0157
--- a/opc_ua/client.py	Mon Mar 27 10:19:14 2023 +0200
+++ b/opc_ua/client.py	Fri Oct 28 12:39:15 2022 +0800
@@ -1,6 +1,6 @@
 # opcua/client.py
 
-from __future__ import absolute_import
+
 
 import os
 
@@ -158,7 +158,7 @@
         locstr = "_".join(map(str, current_location))
         name = self.BaseParams.getName()
         entries = []
-        for direction, data in self.modeldata.iteritems():
+        for direction, data in self.modeldata.items():
             iec_direction_prefix = {"input": "__I", "output": "__Q"}[direction]
             for row in data:
                 dname, ua_nsidx, ua_nodeid_type, _ua_node_id, ua_type, iec_number = row