pep8 compliance: E303 too many blank lines
This commit is contained in:
parent
7dde61f986
commit
db34ae1c09
@ -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
|
||||
|
Reference in New Issue
Block a user