#NEWLINE# def display( self , channel , event ) : #NEWLINE# #INDENT# display = False #NEWLINE# for project in self . _get_bug_projects ( event . get_all_bugs ( ) ) : #NEWLINE# #INDENT# if ( channel in self . channel_config . projects [ 'all' ] ) : #NEWLINE# #INDENT# display = True #NEWLINE# break #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( project in self . channel_config . projects ) : #NEWLINE# #INDENT# if ( channel in self . channel_config . projects [ project ] ) : #NEWLINE# #INDENT# display = True #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return display