--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Oct 09 11:56:45 2018 +0300
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Oct 09 12:05:43 2018 +0300
@@ -1326,11 +1326,11 @@
# Get value and forced flag for each variable displayed in graph
# If cursor tick is not defined get value and flag of last received
# or get value and flag of variable at cursor tick
- values, forced = apply(zip, [(
+ args = [(
item.GetValue(self.CursorTick)
if self.CursorTick is not None
- else (item.GetValue(), item.IsForced())
- ) for item in self.Items])
+ else (item.GetValue(), item.IsForced())) for item in self.Items]
+ values, forced = zip(*args)
# Get path of each variable displayed simplified using panel variable
# name mask