--- a/controls/DebugVariablePanel/DebugVariableTextViewer.py Thu Oct 11 10:25:19 2018 +0300
+++ b/controls/DebugVariablePanel/DebugVariableTextViewer.py Thu Oct 11 12:00:40 2018 +0300
@@ -25,7 +25,6 @@
from __future__ import absolute_import
from __future__ import division
-from types import TupleType
import wx
@@ -88,7 +87,7 @@
# Check that data is valid regarding DebugVariablePanel
try:
values = eval(data)
- if not isinstance(values, TupleType):
+ if not isinstance(values, tuple):
raise ValueError
except Exception:
message = _("Invalid value \"%s\" for debug variable") % data