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

Modified Files:
        main.py 
Log Message:
cachetime checking not working right now

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** main.py     5 Feb 2004 20:39:11 -0000       1.112
--- main.py     11 Feb 2004 11:09:40 -0000      1.113
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.113  2004/02/11 11:09:40  dischi
+ # cachetime checking not working right now
+ #
  # Revision 1.112  2004/02/05 20:39:11  dischi
  # check mmpython cache version
***************
*** 337,353 ****
  mmpython.disc.discinfo.CREATE_MD5_ID = config.MMPYTHON_CREATE_MD5_ID
  
! if not os.path.isfile(os.path.join(config.OVERLAY_DIR, 'cachetime')):
!     print '\nWARNING: no pre-cached data'
!     print 'Freevo will cache each directory when you first enter it. This can'
!     print 'be slow. Start "./freevo cache" to pre-cache all directories to speed'
!     print 'up usage of freevo'
!     print
! else:
!     f = open(os.path.join(config.OVERLAY_DIR, 'cachetime'))
!     if long(time.time()) - long(f.readline()) > 604800:
!         print '\nWARNING: cache files older than 7 days'
!         print 'Please rerun "./freevo cache" to speed up freevo'
!         print
!     f.close()
      
  
--- 340,356 ----
  mmpython.disc.discinfo.CREATE_MD5_ID = config.MMPYTHON_CREATE_MD5_ID
  
! # if not os.path.isfile(os.path.join(config.OVERLAY_DIR, 'cachetime')):
! #     print '\nWARNING: no pre-cached data'
! #     print 'Freevo will cache each directory when you first enter it. This can'
! #     print 'be slow. Start "./freevo cache" to pre-cache all directories to speed'
! #     print 'up usage of freevo'
! #     print
! # else:
! #     f = open(os.path.join(config.OVERLAY_DIR, 'cachetime'))
! #     if long(time.time()) - long(f.readline()) > 604800:
! #         print '\nWARNING: cache files older than 7 days'
! #         print 'Please rerun "./freevo cache" to speed up freevo'
! #         print
! #     f.close()
      
  



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to