Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15867/src/helpers

Modified Files:
        cache.py 
Log Message:
fix crash for bad paths

Index: cache.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/cache.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** cache.py    22 Mar 2004 11:04:51 -0000      1.31
--- cache.py    18 Apr 2004 08:14:31 -0000      1.32
***************
*** 12,15 ****
--- 12,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.32  2004/04/18 08:14:31  dischi
+ # fix crash for bad paths
+ #
  # Revision 1.31  2004/03/22 11:04:51  dischi
  # improve caching
***************
*** 255,258 ****
--- 258,265 ----
              pl  += util.match_files_recursively(dir[1], playlist.mimetype.suffix())
              fxd += util.match_files_recursively(dir[1], fxditem.mimetype.suffix())
+         elif isinstance(dir, list) or isinstance(dir, tuple):
+             print
+             print 'bad path: %s   ' % dir[1] ,
+             sys.__stdout__.flush()
          elif util.match_suffix(dir, playlist.mimetype.suffix()):
              pl.append(dir)



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to