equal
deleted
inserted
replaced
21 # |
21 # |
22 # You should have received a copy of the GNU General Public License |
22 # You should have received a copy of the GNU General Public License |
23 # along with this program; if not, write to the Free Software |
23 # along with this program; if not, write to the Free Software |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
25 |
25 |
26 from __future__ import absolute_import |
26 |
27 from __future__ import division |
27 |
28 import os |
28 import os |
29 import sys |
29 import sys |
30 import shutil |
30 import shutil |
31 import wx |
31 import wx |
32 from gnosis.xml.pickle import * # pylint: disable=import-error |
32 from gnosis.xml.pickle import * # pylint: disable=import-error |
350 wx.CallAfter(self._View.RefreshBufferState) |
350 wx.CallAfter(self._View.RefreshBufferState) |
351 return value, refresh |
351 return value, refresh |
352 |
352 |
353 def GetVariableLocationTree(self): |
353 def GetVariableLocationTree(self): |
354 current_location = self.GetCurrentLocation() |
354 current_location = self.GetCurrentLocation() |
355 nodeindexes = self.SlaveNodes.keys() |
355 nodeindexes = list(self.SlaveNodes.keys()) |
356 nodeindexes.sort() |
356 nodeindexes.sort() |
357 children = [] |
357 children = [] |
358 children += [GetSlaveLocationTree(self.Manager.GetCurrentNodeCopy(), |
358 children += [GetSlaveLocationTree(self.Manager.GetCurrentNodeCopy(), |
359 current_location, |
359 current_location, |
360 _("Local entries"))] |
360 _("Local entries"))] |