Skip to content

converted to python3.3 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyrominfo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

__all__ = [
"RomInfo",
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/gameboy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class GameboyParser(RomInfoParser):
"""
Expand Down
4 changes: 2 additions & 2 deletions pyrominfo/gba.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

# Publishers are the same across these handhelds
from gameboy import gameboy_publishers
from .gameboy import gameboy_publishers

class GBAParser(RomInfoParser):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/genesis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class GensisParser(RomInfoParser):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/mastersystem.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class MasterSystemParser(RomInfoParser):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/nes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class NESParser(RomInfoParser):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/nintendo64.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2013 Garrett Brown
# See Copyright Notice in rominfo.py

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class Nintendo64Parser(RomInfoParser):
"""
Expand Down
2 changes: 1 addition & 1 deletion pyrominfo/snes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

from rominfo import RomInfoParser
from .rominfo import RomInfoParser

class SNESParser(RomInfoParser):
"""
Expand Down
1 change: 1 addition & 0 deletions tests/test_gba.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def test_gba(self):
self.assertEqual(len(empty), 0)

props = self.gbaParser.parse("data/Golden Sun - The Lost Age.gba")

self.assertEqual(len(props), 8)
self.assertEqual(props["title"], "GOLDEN_SUN_B")
self.assertEqual(props["code"], "AGFE")
Expand Down