Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-07-06 23:32:22 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-07-06 23:32:22 (GMT)
commit695b022046650ae05b4ab6d60e457af207e8d618 (patch)
tree1da5043e89929bb00a233e3a680752aeb79956fe /TurtleArt
parent505d953dd138bad06d318cf8d96d65f85e24bc8e (diff)
remove more deprecated blocks
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 066870c..15ebad7 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -3252,7 +3252,7 @@ class TurtleArtWindow():
elif type(btype) == list:
btype, value = btype[0], btype[1]
- # Replace old-style sandwich blocks
+ # Replace deprecated sandwich blocks
if btype == 'sandwichtop_no_label':
btype = 'sandwichclamp'
docks = []
@@ -3271,6 +3271,9 @@ class TurtleArtWindow():
# sandwich top dock[2], currently set to None
elif btype in ['sandwichbottom', 'sandwichcollapsed']:
btype = 'vspace'
+ # FIXME: blocks after sandwichtop should be in a sandwich clamp
+ elif btype in ['sandwichtop', 'sandwichtop_no_arm']:
+ btype = 'comment'
# Some blocks can only appear once...
if btype in ['start', 'hat1', 'hat2']: