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-01-17 21:20:03 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-01-17 21:20:03 (GMT)
commit414ff0fce4ffc48c7f17acf993d9000a2e424cc0 (patch)
treea0d1222308696851094a7ddb084a0b6b5ed81e3c /TurtleArt
parent7a821dc3f7d10bbacaea96c669a97dd7b05ff417 (diff)
additional fix for exportlogo
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/taexportlogo.py2
-rw-r--r--TurtleArt/talogo.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/TurtleArt/taexportlogo.py b/TurtleArt/taexportlogo.py
index 127689b..0d0660e 100644
--- a/TurtleArt/taexportlogo.py
+++ b/TurtleArt/taexportlogo.py
@@ -266,7 +266,7 @@ def _walk_stack(tw, blk_in_stack):
top = find_top_block(blk_in_stack)
if blk_in_stack == top:
- psuedocode = tw.lc.run_blocks(top, tw.block_list.list, False)
+ psuedocode = tw.lc.run_blocks(top, tw.just_blocks(), False)
return psuedocode
else:
return []
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py
index 078e432..a2901eb 100644
--- a/TurtleArt/talogo.py
+++ b/TurtleArt/talogo.py
@@ -755,6 +755,10 @@ class LogoCode:
if while_blk or until_blk:
ifelse_blk = HiddenBlock('ifelse')
stopstack_blk = HiddenBlock('stopstack')
+ inflow = None
+ whileflow = None
+ outflow = None
+ boolflow = None
if b.connections is not None:
inflow = b.connections[0]
if while_blk or until_blk: