diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-01 18:18:07 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-01 18:18:07 (GMT) |
commit | 3539d60a0ce75cdeb4835469c487e48201c45f4e (patch) | |
tree | cfff2d50a29598aae851fe23973f396424ddfb4c /TurtleArt/tatype.py | |
parent | e0b48b9901accee563373e4c815c924d571bad07 (diff) |
fix recovering type converter chains from the backtrace
Diffstat (limited to 'TurtleArt/tatype.py')
-rw-r--r-- | TurtleArt/tatype.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TurtleArt/tatype.py b/TurtleArt/tatype.py index 1d35952..164ba2a 100644 --- a/TurtleArt/tatype.py +++ b/TurtleArt/tatype.py @@ -260,6 +260,7 @@ def get_converter(old_type, new_type): while t in backtrace and isinstance(backtrace[t], Type): converter_chain.insert(0, TYPE_CONVERTERS[backtrace[t]][t]) t = backtrace[t] + converter_chain.insert(0, TYPE_CONVERTERS[old_type][t]) return converter_chain return None |