Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/uturn.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-05-22 21:48:47 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-05-22 21:48:47 (GMT)
commit87b47c329bf60c336303f228e11ece571dbe91de (patch)
tree49ae3e0722afb420a8e237384c8f36ecf4fb6f04 /pysamples/uturn.py
parent51d0563b974f4daa7150410f66d1816c42780212 (diff)
pep8 and pyflakes cleanup
Diffstat (limited to 'pysamples/uturn.py')
-rw-r--r--pysamples/uturn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pysamples/uturn.py b/pysamples/uturn.py
index 0b164a0..cdeb96d 100644
--- a/pysamples/uturn.py
+++ b/pysamples/uturn.py
@@ -27,9 +27,9 @@ def myblock(tw, arg):
# Add its primitive to the LogoCode dictionary.
tw.lc.def_prim('uturn', 0,
- lambda self: primitive_dictionary['set'](
- 'heading', tw.canvas.seth, tw.canvas.heading + 180))
+ lambda self: primitive_dictionary['set']
+ ('heading', tw.canvas.seth, tw.canvas.heading + 180))
# Regenerate the palette, which will now include the new block.
tw.show_toolbar_palette(palette_name_to_index('turtle'),
- regenerate=True)
+ regenerate=True)