diff options
author | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-08-24 15:43:15 -0700 |
---|---|---|
committer | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-08-24 15:43:15 -0700 |
commit | a64657988a50522885618998e7f14168c299a19b (patch) | |
tree | 9240aab0fba75befe75d6059d62bea8a3e0fbd4e /pokemontools/old_text_script.py | |
parent | 0e1798937a4bf723813574281d0dc12c471c9199 (diff) |
Fix most Python 3 compat issues with futurize --stage1
Diffstat (limited to 'pokemontools/old_text_script.py')
-rw-r--r-- | pokemontools/old_text_script.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pokemontools/old_text_script.py b/pokemontools/old_text_script.py index a4cfb8c..b3692fa 100644 --- a/pokemontools/old_text_script.py +++ b/pokemontools/old_text_script.py @@ -1,8 +1,9 @@ """ An old implementation of TextScript that may not be useful anymore. """ +from __future__ import absolute_import -import pointers +from . import pointers class OldTextScript: "a text is a sequence of commands different from a script-engine script" @@ -43,7 +44,7 @@ class OldTextScript: if signpost["func"] in [0, 1, 2, 3, 4]: # dump this into script script = signpost["script"] - elif signpost["func"] in [05, 06]: + elif signpost["func"] in [0o5, 0o6]: script = signpost["script"] else: continue # skip signposts with no bytes |