dialogs/ActionBlockDialog.py
branchpython3
changeset 3750 f62625418bff
parent 3640 822fdcef784b
--- a/dialogs/ActionBlockDialog.py	Mon Mar 27 10:19:14 2023 +0200
+++ b/dialogs/ActionBlockDialog.py	Fri Oct 28 12:39:15 2022 +0800
@@ -23,7 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
-from __future__ import absolute_import
+
 import wx
 import wx.grid
 import wx.lib.buttons
@@ -162,7 +162,7 @@
 
         self.Table = ActionTable(self, [], GetActionTableColnames())
         typelist = GetTypeList()
-        self.TypeList = map(_, typelist)
+        self.TypeList = list(map(_, typelist))
         self.TranslateType = dict([(_(value), value) for value in typelist])
         self.ColSizes = [60, 90, 130, 200, 50]
         self.ColAlignements = [wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT]