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

Modified Files:
        __init__.py 
Log Message:
move freevo-rebuild-database to cache dir

Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/__init__.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** __init__.py 2 Jun 2004 21:36:49 -0000       1.31
--- __init__.py 20 Jun 2004 13:06:19 -0000      1.32
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.32  2004/06/20 13:06:19  dischi
+ # move freevo-rebuild-database to cache dir
+ #
  # Revision 1.31  2004/06/02 21:36:49  dischi
  # auto detect movies with more than one file
***************
*** 243,255 ****
      discset_informations  = {}
      tv_show_informations  = {}
!     
!     if vfs.exists("/tmp/freevo-rebuild-database"):
          try:
!             os.remove('/tmp/freevo-rebuild-database')
          except OSError:
              print '*********************************************************'
              print
              print '*********************************************************'
!             print 'ERROR: unable to remove /tmp/freevo-rebuild-database'
              print 'please fix permissions'
              print '*********************************************************'
--- 246,259 ----
      discset_informations  = {}
      tv_show_informations  = {}
! 
!     rebuild_file = os.path.join(config.FREEVO_CACHEDIR, 'freevo-rebuild-database')
!     if vfs.exists(rebuild_file):
          try:
!             os.remove(rebuild_file)
          except OSError:
              print '*********************************************************'
              print
              print '*********************************************************'
!             print 'ERROR: unable to remove %s' % rebuild_file
              print 'please fix permissions'
              print '*********************************************************'



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to