graphics/SFC_Objects.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1848 201e0f1896c4
--- a/graphics/SFC_Objects.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/graphics/SFC_Objects.py	Thu Oct 05 16:38:49 2017 +0300
@@ -453,7 +453,7 @@
 
     # Refreshes the step state according to move defined and handle selected
     def ProcessDragging(self, movex, movey, event, scaling):
-        handle_type, handle = self.Handle
+        handle_type, _handle = self.Handle
         if handle_type == HANDLE_MOVE:
             movex = max(-self.BoundingBox.x, movex)
             movey = max(-self.BoundingBox.y, movey)
@@ -1588,7 +1588,7 @@
 
     # Refresh the jump bounding box
     def RefreshBoundingBox(self):
-        text_width, text_height = self.Parent.GetTextExtent(self.Target)
+        text_width, _text_height = self.Parent.GetTextExtent(self.Target)
         # Calculate the bounding box size
         bbx_width = self.Size[0] + 2 + text_width
         self.BoundingBox = wx.Rect(self.Pos.x,    self.Pos.y - CONNECTOR_SIZE,
@@ -1952,7 +1952,7 @@
     # Refreshes the action block state according to move defined and handle selected
     def ProcessDragging(self, movex, movey, event, scaling):
         if self.Parent.GetDrawingMode() != FREEDRAWING_MODE:
-            handle_type, handle = self.Handle
+            handle_type, _handle = self.Handle
             if handle_type == HANDLE_MOVE:
                 movex = max(-self.BoundingBox.x, movex)
                 if scaling is not None: