Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30225/src/games
Modified Files:
mame_cache.py
Log Message:
replace read_pickle and save_pickle with util.cache functions
Index: mame_cache.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/mame_cache.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** mame_cache.py 22 Jul 2004 21:21:48 -0000 1.20
--- mame_cache.py 8 Jan 2005 15:09:25 -0000 1.21
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.21 2005/01/08 15:09:25 dischi
+ # replace read_pickle and save_pickle with util.cache functions
+ #
# Revision 1.20 2004/07/22 21:21:48 dischi
# small fixes to fit the new gui code
***************
*** 75,79 ****
if os.path.isfile(config.GAMES_MAME_CACHE):
! mameRomList = util.read_pickle(config.GAMES_MAME_CACHE)
try:
--- 78,82 ----
if os.path.isfile(config.GAMES_MAME_CACHE):
! mameRomList = util.cache.read(config.GAMES_MAME_CACHE)
try:
***************
*** 104,108 ****
mameRomList = mame_types.MameRomList()
! util.save_pickle(mameRomList, config.GAMES_MAME_CACHE)
--- 107,111 ----
mameRomList = mame_types.MameRomList()
! util.cache.save(config.GAMES_MAME_CACHE, mameRomList)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog