Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-02-04 13:35:30 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-02-04 16:52:08 (GMT)
commitf1fa554caabbc0234aa486fb9ee4e65fd06f7732 (patch)
tree633954ba9a1acc3138feb5e400740b2132710f5a
parentda6991fb2ac90fb9e1ca9b907f79ed786d8d6083 (diff)
Pyflakes fixes
-rw-r--r--reorderwindow.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/reorderwindow.py b/reorderwindow.py
index 36f26ea..0b4c777 100644
--- a/reorderwindow.py
+++ b/reorderwindow.py
@@ -290,18 +290,14 @@ class ImageElement:
def resize(self, x_movement, y_movement, allocation, start_x, start_y):
if self.is_in_point(start_x, start_y, self.points["lower_left"]):
- x_final_pos = self.x + x_movement
self.x += x_movement
self.width -= x_movement
self.height += y_movement
elif self.is_in_point(start_x, start_y, self.points["upper_right"]):
- y_final_pos = self.y + y_movement
self.y += y_movement
self.height -= y_movement
self.width += x_movement
elif self.is_in_point(start_x, start_y, self.points["upper_left"]):
- x_final_pos = self.x + x_movement
- y_final_pos = self.y + y_movement
self.y += y_movement
self.x += x_movement
self.width -= x_movement