#NEWLINE# def subscribe( self ) : #NEWLINE# #INDENT# 'Register this object as a (multi-channel) listener on the bus.' #NEWLINE# for channel in self . bus . listeners : #NEWLINE# #INDENT# method = getattr ( self , channel , None ) #NEWLINE# if ( method is not None ) : #NEWLINE# #INDENT# self . bus . subscribe ( channel , method )