controls/DebugVariablePanel/DebugVariablePanel.py
changeset 1828 396da88d7b5c
parent 1783 3311eea28d56
child 1846 14b40afccd69
--- a/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Sep 22 10:57:57 2017 +0300
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Sep 22 16:37:38 2017 +0300
@@ -787,7 +787,7 @@
         if source_panel is not None:
             source_panel_idx = self.GraphicPanels.index(source_panel)
 
-            if (len(source_panel.GetItems()) == 1):
+            if len(source_panel.GetItems()) == 1:
 
                 if source_panel_idx < idx:
                     self.GraphicPanels.insert(idx, source_panel)
@@ -857,7 +857,7 @@
                             source_panel.ReleaseMouse()
                         source_panel.Destroy()
                         self.GraphicPanels.remove(source_panel)
-            elif (merge_type != graph_type and len(target_panel.Items) == 2):
+            elif merge_type != graph_type and len(target_panel.Items) == 2:
                 target_panel.RemoveItem(source_item)
             else:
                 target_panel = None