Author: duncan
Date: Thu May 10 18:48:59 2007
New Revision: 9556
Modified:
branches/rel-1/freevo/src/tv/channels.py
Log:
Changed debug statements
Modified: branches/rel-1/freevo/src/tv/channels.py
==============================================================================
--- branches/rel-1/freevo/src/tv/channels.py (original)
+++ branches/rel-1/freevo/src/tv/channels.py Thu May 10 18:48:59 2007
@@ -159,9 +159,7 @@
freq = config.FREQUENCY_TABLE.get(chan)
if freq:
- if DEBUG:
- print String('USING CUSTOM FREQUENCY: chan="%s", freq="%s"'% \
- (chan, freq))
+ _debug_('Using custom frequency: chan="%s", freq="%s"' % (chan,
freq))
else:
clist = tv.freq.CHANLIST.get(vg.tuner_chanlist)
if clist:
@@ -169,18 +167,14 @@
else:
if vg.group_type != 'dvb':
print String(_('ERROR')+': ' + \
- (_('Unable to get channel list for %s.') % \
- vg.tuner_chanlist))
+ (_('Unable to get channel list for %s.') %
vg.tuner_chanlist))
return 0
if not freq:
if vg.group_type != 'dvb':
print String(_('ERROR')+': ' + \
- (_('Unable to get channel list for %s.') % \
- vg.tuner_chanlist))
+ (_('Unable to get channel list for %s.') %
vg.tuner_chanlist))
return 0
- if DEBUG:
- print String('USING STANDARD FREQUENCY: chan="%s", freq="%s"'
% \
- (chan, freq))
+ _debug_('USING STANDARD FREQUENCY: chan="%s", freq="%s"' % (chan,
freq))
if app:
if app_cmd:
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog