diff options
author | Marion <marion.zepf@gmail.com> | 2013-08-09 13:40:21 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-08-09 13:40:21 (GMT) |
commit | 80d5177118d4ea9cb2e1c6a85823998888f09e06 (patch) | |
tree | ce0301fd61e6f3a70cee18e633eafd1c3559fb63 /TurtleArt/taexportpython.py | |
parent | 2918d1cf33bcb8be74e85f8c76c48cedfa9e7543 (diff) |
rename the LogoCode's loop function to prim_loop
- The new name is more consistent with prim_if, prim_ifelse etc.
Diffstat (limited to 'TurtleArt/taexportpython.py')
-rw-r--r-- | TurtleArt/taexportpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/taexportpython.py b/TurtleArt/taexportpython.py index 20d83af..8be59bf 100644 --- a/TurtleArt/taexportpython.py +++ b/TurtleArt/taexportpython.py @@ -191,7 +191,7 @@ def _walk_action_stack(top_block, lc): new_arg_asts = _walk_action_stack(conn, lc) if dock[0] == 'flow': # body of conditional or loop - if prim == LogoCode.loop: + if prim == LogoCode.prim_loop: new_arg_asts.append(_ast_yield_true()) arg_asts.append(new_arg_asts) else: |