From db34ae1c0941dcb782e8b58c0959c196056d5a47 Mon Sep 17 00:00:00 2001 From: David Sowder Date: Tue, 21 Feb 2012 17:13:24 -0600 Subject: [PATCH] pep8 compliance: E303 too many blank lines --- albow/widget.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/albow/widget.py b/albow/widget.py index 216cd6f..212db4e 100644 --- a/albow/widget.py +++ b/albow/widget.py @@ -175,7 +175,6 @@ class Widget(object): width += factors[1] * dw / sum(factors) #left = (left + width) + factors[2] * dw / sum(factors) - width; - if dh: factors = [1, 1, 1] #bottom, height, top if 't' in anchor: factors[2] = 0; @@ -189,8 +188,6 @@ class Widget(object): height += factors[1] * dh / sum(factors) #top = (top + height) + factors[0] * dh / sum(factors) - height; - - if resize: if debug_resize: print "Widget.parent_resized: changing rect to", (left, top, width, height) @@ -268,8 +265,6 @@ class Widget(object): print "Adding idle handler for ", widget self.get_root().add_idle_handler(widget) - - def _remove(self, widget): if hasattr(widget, "idleevent"): print "Removing idle handler for ", widget