Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv603/tv
Modified Files:
edit_favorite.py record_types.py
Log Message:
Inherit DEBUG parameter from config, move some prints into DEBUG
Index: edit_favorite.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/edit_favorite.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** edit_favorite.py 9 Jan 2004 02:10:00 -0000 1.6
--- edit_favorite.py 9 Jan 2004 19:35:49 -0000 1.7
***************
*** 10,13 ****
--- 10,16 ----
#-----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2004/01/09 19:35:49 outlyer
+ # Inherit DEBUG parameter from config, move some prints into DEBUG
+ #
# Revision 1.6 2004/01/09 02:10:00 rshortt
# Patch from Matthieu Weber to revive add/edit favorites support from the
***************
*** 68,72 ****
from gui.ConfirmBox import ConfirmBox
! DEBUG = 1
TRUE = 1
FALSE = 0
--- 71,75 ----
from gui.ConfirmBox import ConfirmBox
! DEBUG = config.DEBUG
TRUE = 1
FALSE = 0
Index: record_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/record_types.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** record_types.py 9 Jan 2004 02:10:00 -0000 1.7
--- record_types.py 9 Jan 2004 19:35:49 -0000 1.8
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2004/01/09 19:35:49 outlyer
+ # Inherit DEBUG parameter from config, move some prints into DEBUG
+ #
# Revision 1.7 2004/01/09 02:10:00 rshortt
# Patch from Matthieu Weber to revive add/edit favorites support from the
***************
*** 54,58 ****
# Set to 1 for debug output
! DEBUG = 1
TRUE = 1
--- 57,61 ----
# Set to 1 for debug output
! DEBUG = config.DEBUG
TRUE = 1
***************
*** 74,84 ****
pass
! print 'addProgram: key is "%s"' % key
if not self.programList.has_key(key):
! print 'addProgram: actually adding "%s"' % prog
self.programList[key] = prog
else:
! print 'We already know about this recording.'
! print 'addProgram: len is "%s"' % len(self.programList)
--- 77,87 ----
pass
! if DEBUG: print 'addProgram: key is "%s"' % key
if not self.programList.has_key(key):
! if DEBUG: print 'addProgram: actually adding "%s"' % prog
self.programList[key] = prog
else:
! if DEBUG: print 'We already know about this recording.'
! if DEBUG: print 'addProgram: len is "%s"' % len(self.programList)
***************
*** 90,96 ****
if self.programList.has_key(key):
del self.programList[key]
! print 'removed recording: %s' % prog
else:
! print 'We do not know about this recording.'
--- 93,99 ----
if self.programList.has_key(key):
del self.programList[key]
! if DEBUG: print 'removed recording: %s' % prog
else:
! if DEBUG: print 'We do not know about this recording.'
***************
*** 105,112 ****
def addFavorite(self, fav):
if not self.favorites.has_key(fav.name):
! print 'addFavorites: actually adding "%s"' % fav.name
self.favorites[fav.name] = fav
else:
! print 'We already have a favorite called "%s".' % fav.name
--- 108,115 ----
def addFavorite(self, fav):
if not self.favorites.has_key(fav.name):
! if DEBUG: print 'addFavorites: actually adding "%s"' % fav.name
self.favorites[fav.name] = fav
else:
! if DEBUG: print 'We already have a favorite called "%s".' % fav.name
***************
*** 114,120 ****
if self.favorites.has_key(name):
del self.favorites[name]
! print 'removed favorite: %s' % name
else:
! print 'We do not have a favorite called "%s".' % name
--- 117,123 ----
if self.favorites.has_key(name):
del self.favorites[name]
! if DEBUG: print 'removed favorite: %s' % name
else:
! if DEBUG: print 'We do not have a favorite called "%s".' % 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