Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-05-22 03:44:52 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-05-22 03:44:52 (GMT)
commit35e443595e221b26f91f7fe3008b2cac35ad7c9d (patch)
treeabba37299808227fb20e3f45e8b5a77de4d1e41a /plugins
parent47367cb190e38405d68f5ad94fe109cdddecc136 (diff)
clean up logo export code (use \n instead of \r)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index 6b0f3ce..84c7287 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -474,8 +474,8 @@ program started'))
last-out heap)'))
self.tw.lc.def_prim('push', 1,
lambda self, x: primitive_dictionary['push'](x))
- define_logo_function('tapush', 'to tapush :foo\rmake "taheap fput \
-:foo :taheap\rend\rmake "taheap []\r')
+ define_logo_function('tapush', 'to tapush :foo\nmake "taheap fput \
+:foo :taheap\nend\nmake "taheap []\n')
primitive_dictionary['printheap'] = self._prim_printheap
palette.add_block('printheap',
@@ -487,8 +487,8 @@ last-out heap)'))
last-out heap)'))
self.tw.lc.def_prim('printheap', 0,
lambda self: primitive_dictionary['printheap']())
- define_logo_function('taprintheap', 'to taprintheap \rprint :taheap\r\
-end\r')
+ define_logo_function('taprintheap', 'to taprintheap \nprint :taheap\n\
+end\n')
primitive_dictionary['clearheap'] = self._prim_emptyheap
palette.add_block('clearheap',
@@ -500,8 +500,8 @@ end\r')
heap)'))
self.tw.lc.def_prim('clearheap', 0,
lambda self: primitive_dictionary['clearheap']())
- define_logo_function('taclearheap', 'to taclearheap\rmake "taheap []\r\
-end\r')
+ define_logo_function('taclearheap', 'to taclearheap\nmake "taheap []\n\
+end\n')
primitive_dictionary['pop'] = self._prim_pop
palette.add_block('pop',
@@ -515,8 +515,8 @@ end\r')
last-out heap)'))
self.tw.lc.def_prim('pop', 0,
lambda self: primitive_dictionary['pop']())
- define_logo_function('tapop', 'to tapop\rif emptyp :taheap [stop]\r\
-make "tmp first :taheap\rmake "taheap butfirst :taheap\routput :tmp\rend\r')
+ define_logo_function('tapop', 'to tapop\nif emptyp :taheap [stop]\n\
+make "tmp first :taheap\nmake "taheap butfirst :taheap\noutput :tmp\nend\n')
primitive_dictionary['isheapempty'] = self._prim_is_heap_empty
palette.add_block('isheapempty',