[pypy-svn] r54984 - pypy/branch/gameboy-emulator/pypy/lang/gameboy

cami at codespeak.net cami at codespeak.net
Tue May 20 11:05:08 CEST 2008


Author: cami
Date: Tue May 20 11:05:05 2008
New Revision: 54984

Modified:
   pypy/branch/gameboy-emulator/pypy/lang/gameboy/cartridge.py
Log:
some dwarfy changes


Modified: pypy/branch/gameboy-emulator/pypy/lang/gameboy/cartridge.py
==============================================================================
--- pypy/branch/gameboy-emulator/pypy/lang/gameboy/cartridge.py	(original)
+++ pypy/branch/gameboy-emulator/pypy/lang/gameboy/cartridge.py	Tue May 20 11:05:05 2008
@@ -199,7 +199,7 @@
                                         constants.BATTERY_FILE_EXTENSION)
         elif cartridge_file_path.endswith(
                                 constants.CARTRIDGE_COLOR_FILE_EXTENSION):
-            return cartridge_file_pat.replace(
+            return cartridge_file_path.replace(
                                     constants.CARTRIDGE_COLOR_FILE_EXTENSION,
                                     constants.BATTERY_FILE_EXTENSION)
         else:



More information about the Pypy-commit mailing list