Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27120
Modified Files:
cache.py
Log Message:
small fix
Index: cache.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/cache.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** cache.py 12 Feb 2004 12:22:03 -0000 1.23
--- cache.py 13 Feb 2004 17:34:18 -0000 1.24
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.24 2004/02/13 17:34:18 dischi
+ # small fix
+ #
# Revision 1.23 2004/02/12 12:22:03 dischi
# update cache to new directory metainfo
***************
*** 467,481 ****
activate_plugins.append(type)
- delete_old_files_1()
- delete_old_files_2()
-
for type in 'VIDEO', 'AUDIO', 'IMAGE':
for d in copy.copy(getattr(config, '%s_ITEMS' % type)):
! if not isinstance(d, str):
d = d[1]
if d == '/':
! print '%s_ITEMS contains root directory, skipped.' % type
setattr(config, '%s_ITEMS' % type, [])
cache_directories(rebuild)
cache_thumbnails()
--- 470,484 ----
activate_plugins.append(type)
for type in 'VIDEO', 'AUDIO', 'IMAGE':
for d in copy.copy(getattr(config, '%s_ITEMS' % type)):
! if not (isinstance(d, str) or isinstance(d, unicode)):
d = d[1]
if d == '/':
! print 'ERROR: %s_ITEMS contains root directory, skipped.' % type
setattr(config, '%s_ITEMS' % type, [])
+ delete_old_files_1()
+ delete_old_files_2()
+
cache_directories(rebuild)
cache_thumbnails()
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog