Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30225/src/plugins
Modified Files:
headlines.py
Log Message:
replace read_pickle and save_pickle with util.cache functions
Index: headlines.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/headlines.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** headlines.py 6 Oct 2004 18:59:52 -0000 1.23
--- headlines.py 8 Jan 2005 15:09:26 -0000 1.24
***************
*** 16,19 ****
--- 16,22 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.24 2005/01/08 15:09:26 dischi
+ # replace read_pickle and save_pickle with util.cache functions
+ #
# Revision 1.23 2004/10/06 18:59:52 dischi
# remove import rc
***************
*** 172,176 ****
else:
#print 'Cache Headlines'
! headlines = util.read_pickle(pfile)
return headlines
--- 175,179 ----
else:
#print 'Cache Headlines'
! headlines = util.cache.load(pfile)
return headlines
***************
*** 213,217 ****
if len(headlines) > 0:
pfile = os.path.join(self.cachedir, 'headlines-%i' %
self.location_index)
! util.save_pickle(headlines, pfile)
popup.destroy()
--- 216,220 ----
if len(headlines) > 0:
pfile = os.path.join(self.cachedir, 'headlines-%i' %
self.location_index)
! util.cache.save(pfile, headlines)
popup.destroy()
-------------------------------------------------------
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