#NEWLINE# def delete_channel( self , viewer , channel ) : #NEWLINE# #INDENT# chname = channel . name #NEWLINE# self . logger . debug ( ( 'deleting channel %s' % chname ) ) #NEWLINE# self . active = None #NEWLINE# self . info = None #NEWLINE# del self . channel [ chname ] #NEWLINE# self . fv . gui_do ( chname . _reset_channels_gui )