dialogs/BrowseLocationsDialog.py
branchpython3
changeset 3750 f62625418bff
parent 3303 0ffb41625592
child 3789 8def429216ca
--- a/dialogs/BrowseLocationsDialog.py	Mon Mar 27 10:19:14 2023 +0200
+++ b/dialogs/BrowseLocationsDialog.py	Fri Oct 28 12:39:15 2022 +0800
@@ -24,7 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.#
 
 
-from __future__ import absolute_import
+
 import wx
 
 from plcopen.structures import LOCATIONDATATYPES
@@ -54,7 +54,7 @@
 
 # turn LOCATIONDATATYPES inside-out
 LOCATION_SIZES = {}
-for size, types in LOCATIONDATATYPES.iteritems():
+for size, types in LOCATIONDATATYPES.items():
     for type in types:
         LOCATION_SIZES[type] = size