Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21562/src/helpers
Modified Files:
cache.py main.py
Log Message:
use kaa.metadata instead of mmpython
Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/main.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** main.py 28 Jun 2005 15:59:47 -0000 1.5
--- main.py 2 Jul 2005 16:46:25 -0000 1.6
***************
*** 125,129 ****
#
! # checking for lsdvd to be used in mmpython
#
if not config.CONF.lsdvd:
--- 125,129 ----
#
! # checking for lsdvd to be used in kaa.metadata
#
if not config.CONF.lsdvd:
***************
*** 139,152 ****
#
! # mmpython version checking
#
try:
! import mmpython.version
! if mmpython.version.CHANGED < 20040629:
! raise ImportError('found version %s' % mmpython.version.VERSION)
except ImportError:
! print 'Error: This version of Freevo requires mmpython >= 0.4.3'
! print 'You can download the latest release from'
! print 'http://sourceforge.net/project/showfiles.php?group_id=75590'
print
sys.exit(0)
--- 139,150 ----
#
! # kaa.metadata version checking
#
try:
! import kaa.metadata.version
! if kaa.metadata.version.CHANGED < 20040629:
! raise ImportError('found version %s' % kaa.metadata.version.VERSION)
except ImportError:
! print 'Error: This version of Freevo requires kaa.metadata >= 0.4.3'
print
sys.exit(0)
Index: cache.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/cache.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** cache.py 25 Jun 2005 08:52:26 -0000 1.46
--- cache.py 2 Jul 2005 16:46:25 -0000 1.47
***************
*** 37,41 ****
import notifier
! import mmpython.version
# freevo imports
--- 37,41 ----
import notifier
! import kaa.metadata.version
# freevo imports
***************
*** 291,295 ****
# let's warn about some updates
if freevo_changed < VERSION or \
! mmpython.version.CHANGED > mmchanged:
print 'Cache too old, forcing rebuild'
rebuild = 1
--- 291,295 ----
# let's warn about some updates
if freevo_changed < VERSION or \
! kaa.metadata.version.CHANGED > mmchanged:
print 'Cache too old, forcing rebuild'
rebuild = 1
***************
*** 333,337 ****
# save cache info
! util.cache.save(cachefile, (mmpython.version.CHANGED, VERSION,
int(time.time()), complete_update))
--- 333,337 ----
# save cache info
! util.cache.save(cachefile, (kaa.metadata.version.CHANGED, VERSION,
int(time.time()), complete_update))
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog