Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28869/gui
Modified Files:
imagelib.py
Log Message:
add mtime to cache name for better update
Index: imagelib.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/imagelib.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** imagelib.py 20 Nov 2004 18:23:00 -0000 1.7
--- imagelib.py 1 Jan 2005 18:37:59 -0000 1.8
***************
*** 70,74 ****
else:
key = url
!
s = cache[key]
if s:
--- 70,75 ----
else:
key = url
! key += os.stat(url)[stat.ST_MTIME]
!
s = cache[key]
if s:
***************
*** 148,153 ****
type = item.type
! key = '%s-%s-%s-%s-%s-%s-%s' % (icon_dir, item.image, type,
! item.type, width, height, force)
if item['rotation']:
--- 149,155 ----
type = item.type
! key = '%s-%s-%s-%s-%s-%s-%s-%s' % (icon_dir, item.image, type,
! item.type, width, height, force,
! os.stat(item.image)[stat.ST_MTIME])
if item['rotation']:
-------------------------------------------------------
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