Rob Shortt wrote:
>   log = logging.getLogger()
> ! log.debug('imported tvcards')
>   
>   class TVCard:
> --- 42,46 ----
>   
>   log = logging.getLogger()
> ! 
>   
>   class TVCard:
> ***************
> *** 121,125 ****
>                   config.TV_SETTINGS[key].driver = 'bsdbt848'
>                   config.TV_SETTINGS[key].input = 1
> !                 print 'BSD TV card detected as %s' % key
>       
>               continue
> --- 121,125 ----
>                   config.TV_SETTINGS[key].driver = 'bsdbt848'
>                   config.TV_SETTINGS[key].input = 1
> !                 log.debug('BSD TV card detected as %s' % key)
>       
>               continue
> ***************
> *** 128,132 ****
>               try:
>                   config.TV_SETTINGS['dvb%s' % i] = DVBCard
> !                 print 'DVB card detected as dvb%s' % i
>               except OSError:
>                   # likely no device attached
> --- 128,132 ----
>               try:
>                   config.TV_SETTINGS['dvb%s' % i] = DVBCard
> !                 log.debug('DVB card detected as dvb%s' % i)
>               except OSError:
>                   # likely no device attached

Maybe use log.info for that? log.info is like DEBUG=1 and this sounds
like a nice info. log.debug is DEBUG = 2.


Dischi

-- 
panic("CPU too expensive - making holiday in the ANDES!");
        2.2.16 /usr/src/linux/arch/mips/kernel/traps.c

Attachment: pgpInYl3kFFNu.pgp
Description: PGP signature

Reply via email to