canfestival/canfestival.py
branchpython3
changeset 3750 f62625418bff
parent 2736 a81b72ef156c
--- a/canfestival/canfestival.py	Mon Mar 27 10:19:14 2023 +0200
+++ b/canfestival/canfestival.py	Fri Oct 28 12:39:15 2022 +0800
@@ -23,8 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
-from __future__ import absolute_import
-from __future__ import division
+
+
 import os
 import sys
 import shutil
@@ -352,7 +352,7 @@
 
     def GetVariableLocationTree(self):
         current_location = self.GetCurrentLocation()
-        nodeindexes = self.SlaveNodes.keys()
+        nodeindexes = list(self.SlaveNodes.keys())
         nodeindexes.sort()
         children = []
         children += [GetSlaveLocationTree(self.Manager.GetCurrentNodeCopy(),