Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv32253
Modified Files:
view_favorites.py
Log Message:
Fix a crash; I don't know if Python 2.2 is more forgiving about the types,
but 2.3 was pretty upset when it thought it wasn't getting a float()
Index: view_favorites.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/view_favorites.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** view_favorites.py 9 Jan 2004 02:10:00 -0000 1.6
--- view_favorites.py 9 Jan 2004 06:36:53 -0000 1.7
***************
*** 12,15 ****
--- 12,19 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2004/01/09 06:36:53 outlyer
+ # Fix a crash; I don't know if Python 2.2 is more forgiving about the types,
+ # but 2.3 was pretty upset when it thought it wasn't getting a float()
+ #
# Revision 1.6 2004/01/09 02:10:00 rshortt
# Patch from Matthieu Weber to revive add/edit favorites support from the
***************
*** 147,151 ****
mod = 'any time'
else:
! mod = strftime(config.TV_TIMEFORMAT, gmtime(fav.mod * 60))
self.results.add_item(text='%s: %s (%s, %s, %s)' % \
(fav.name,
--- 151,155 ----
mod = 'any time'
else:
! mod = strftime(config.TV_TIMEFORMAT, gmtime(float(fav.mod * 60)))
self.results.add_item(text='%s: %s (%s, %s, %s)' % \
(fav.name,
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog