diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-05-22 13:02:34 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-05-22 13:02:34 (GMT) |
commit | 05bd038c1a1fe456fc030e6196f238a32d110b02 (patch) | |
tree | 510c83a64ac1f1ff5130f91b65e96ee78fd9ca9b /TurtleArt/taexportlogo.py | |
parent | f5d12fa064b806d4e1d628f9b73d61783d85def2 (diff) |
pep8 cleanup
Diffstat (limited to 'TurtleArt/taexportlogo.py')
-rw-r--r-- | TurtleArt/taexportlogo.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TurtleArt/taexportlogo.py b/TurtleArt/taexportlogo.py index 8ddaf31..f021f94 100644 --- a/TurtleArt/taexportlogo.py +++ b/TurtleArt/taexportlogo.py @@ -37,8 +37,7 @@ def save_logo(tw): 'to action': _add_named_stack, 'action': _add_reference_to_stack, 'storeinbox': _add_named_box, - 'box': _add_reference_to_box - } + 'box': _add_reference_to_box} constants_table = { 'lpos': _lpos, 'tpos': _tpos, @@ -60,8 +59,7 @@ def save_logo(tw): 'rightx': _rightx, 'bottomy': _bottomy, 'width': _width, - 'height': _height - } + 'height': _height} stacks_of_blocks = tw.just_blocks() stack_count = 0 @@ -212,7 +210,8 @@ def _leftx(tw): def _topy(tw): - return int((tw.canvas.height * (TITLEXY[1] - 0.125)) / (tw.coord_scale * 2)) + return int((tw.canvas.height * (TITLEXY[1] - 0.125)) + / (tw.coord_scale * 2)) def _rightx(tw): |