#NEWLINE# def get_all_channels( self ) : #NEWLINE# #INDENT# 'Return the list of all channels' #NEWLINE# result = self . do_query ( 'get_all_channels' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( result is None ) : #NEWLINE# #INDENT# self . logger . error ( 'No reply when get_all_channels ?' ) #NEWLINE# return [ ] #NEWLINE# #UNINDENT# retour = [ ] #NEWLINE# for ( topic , id ) in result [ 'list' ] : #NEWLINE# #INDENT# retour . append ( ( self . convert_fm_topic_to_gcc ( topic ) , id ) ) #NEWLINE# #UNINDENT# return retour