Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27354/src/tv
Modified Files:
record_types.py
Log Message:
fix unicode crash in debug
Index: record_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/record_types.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** record_types.py 21 Jun 2004 22:41:44 -0000 1.12
--- record_types.py 1 Jul 2004 19:06:41 -0000 1.13
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.13 2004/07/01 19:06:41 dischi
+ # fix unicode crash in debug
+ #
# Revision 1.12 2004/06/21 22:41:44 rshortt
# Small cleanup, use config.DEBUG.
***************
*** 22,45 ****
# and the OSD interface.
#
- # Revision 1.9 2004/01/09 19:39:31 outlyer
- # Oops, we don't use config here.
- #
- # 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
- # TV interface.
- #
- # Revision 1.6 2003/10/20 01:41:55 rshortt
- # Moving tv_util from src/tv/ to src/util/.
- #
- # Revision 1.5 2003/09/05 02:48:12 rshortt
- # Removing src/tv and src/www from PYTHONPATH in the freevo script. Therefore any
module that was imported from src/tv/ or src/www that didn't have a leading 'tv.' or
'www.' needed it added. Also moved tv/tv.py to tv/tvmenu.py to avoid namespace
conflicts.
- #
- # Revision 1.4 2003/08/23 12:51:43 dischi
- # removed some old CVS log messages
- #
- #
# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
--- 25,28 ----
***************
*** 86,96 ****
pass
! if config.DEBUG: print 'addProgram: key is "%s"' % key
if not self.programList.has_key(key):
! if config.DEBUG: print 'addProgram: actually adding "%s"' % prog
self.programList[key] = prog
else:
! if config.DEBUG: print 'We already know about this recording.'
! if config.DEBUG: print 'addProgram: len is "%s"' % len(self.programList)
--- 69,83 ----
pass
! if config.DEBUG:
! print 'addProgram: key is "%s"' % String(key)
if not self.programList.has_key(key):
! if config.DEBUG:
! print 'addProgram: actually adding "%s"' % String(prog)
self.programList[key] = prog
else:
! if config.DEBUG:
! print 'We already know about this recording.'
! if config.DEBUG:
! print 'addProgram: len is "%s"' % len(self.programList)
***************
*** 102,108 ****
if self.programList.has_key(key):
del self.programList[key]
! if config.DEBUG: print 'removed recording: %s' % prog
else:
! if config.DEBUG: print 'We do not know about this recording.'
--- 89,97 ----
if self.programList.has_key(key):
del self.programList[key]
! if config.DEBUG:
! print 'removed recording: %s' % String(prog)
else:
! if config.DEBUG:
! print 'We do not know about this recording.'
***************
*** 117,124 ****
def addFavorite(self, fav):
if not self.favorites.has_key(fav.name):
! if config.DEBUG: print 'addFavorites: actually adding "%s"' % fav.name
self.favorites[fav.name] = fav
else:
! if config.DEBUG: print 'We already have a favorite called "%s".' %
fav.name
--- 106,115 ----
def addFavorite(self, fav):
if not self.favorites.has_key(fav.name):
! if config.DEBUG:
! print 'addFavorites: actually adding "%s"' % String(fav.name)
self.favorites[fav.name] = fav
else:
! if config.DEBUG:
! print 'We already have a favorite called "%s".' % String(fav.name)
***************
*** 126,132 ****
if self.favorites.has_key(name):
del self.favorites[name]
! if config.DEBUG: print 'removed favorite: %s' % name
else:
! if config.DEBUG: print 'We do not have a favorite called "%s".' % name
--- 117,125 ----
if self.favorites.has_key(name):
del self.favorites[name]
! if config.DEBUG:
! print 'removed favorite: %s' % String(name)
else:
! if config.DEBUG:
! print 'We do not have a favorite called "%s".' % String(name)
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog