diff options
author | yenatch <yenatch@gmail.com> | 2017-02-13 18:09:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 18:09:31 -0500 |
commit | 979c98a7c0f67ad6b9685b2d532c66a1f76ffb22 (patch) | |
tree | c67cc7b8500aac4e400d4e8bfdbef57a57b63eb1 /redtools/connection_helper.py | |
parent | 74c620d01ad59bfb09cf4111ace549b925fcb9ab (diff) | |
parent | 766dea11bd63dee939db2b47198410e6c6e0fc7e (diff) |
Merge pull request #103 from eevee/py3
Python 3 compatibility, sort of, maybe
Diffstat (limited to 'redtools/connection_helper.py')
-rw-r--r-- | redtools/connection_helper.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/redtools/connection_helper.py b/redtools/connection_helper.py index c15b358..d6306ad 100644 --- a/redtools/connection_helper.py +++ b/redtools/connection_helper.py @@ -1,8 +1,10 @@ +from __future__ import print_function +from __future__ import absolute_import #author: Bryan Bishop <kanzure@gmail.com> #date: 2012-01-15 #help with connection math -import extract_maps -from pretty_map_headers import map_constants, map_name_cleaner, offset_to_pointer +from . import extract_maps +from .pretty_map_headers import map_constants, map_name_cleaner, offset_to_pointer def print_connections(map_id, in_connection_id=None, do_output=False): map1 = extract_maps.map_headers[map_id] @@ -101,4 +103,4 @@ if __name__ == "__main__": for map_id in extract_maps.map_headers.keys(): if map_id not in extract_maps.bad_maps: - print print_connections(map_id, do_output=True) + print(print_connections(map_id, do_output=True)) |