Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6240
Modified Files:
mediainfo.py
Log Message:
prevent a crash
Index: mediainfo.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/mediainfo.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** mediainfo.py 2 May 2004 11:46:13 -0000 1.43
--- mediainfo.py 20 May 2004 15:53:49 -0000 1.44
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.44 2004/05/20 15:53:49 dischi
+ # prevent a crash
+ #
# Revision 1.43 2004/05/02 11:46:13 dischi
# make it possible to turn off image caching
***************
*** 248,253 ****
if dirname != self.current_cachedir:
self.load_cache(dirname)
! self.current_objects[filename] = (info, os.stat(fullname)[stat.ST_MTIME])
! self.cache_modified = True
--- 251,260 ----
if dirname != self.current_cachedir:
self.load_cache(dirname)
! try:
! self.current_objects[filename] = (info, os.stat(fullname)[stat.ST_MTIME])
! self.cache_modified = True
! except OSError:
! # key, the file is gone now
! pass
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog