Update of /cvsroot/freevo/freevo/WIP/Dischi/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14925/WIP/Dischi/src

Modified Files:
        directory.py 
Log Message:
check for older mmpython version

Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/WIP/Dischi/src/directory.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** directory.py        17 Nov 2003 19:31:12 -0000      1.6
--- directory.py        20 Nov 2003 14:13:08 -0000      1.7
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.7  2003/11/20 14:13:08  dischi
+ # check for older mmpython version
+ #
  # Revision 1.6  2003/11/17 19:31:12  dischi
  # do not scan when no dir is set
***************
*** 570,574 ****
  
          if num_changes > 0:
!             mmpython.cache_dir(mmpython_dir, callback=callback)
              if self.media:
                  self.media.cached = True
--- 573,585 ----
  
          if num_changes > 0:
!             try:
!                 mmpython.cache_dir(mmpython_dir, callback=callback)
!             except TypeError:
!                 print
!                 print 'ERROR:'
!                 print 'Your mmpython version is too old, please update'
!                 print
!                 mmpython.cache_dir(mmpython_dir)
! 
              if self.media:
                  self.media.cached = True




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to