#NEWLINE# def _get_plugin( self , extension_point ) : #NEWLINE# #INDENT# ' Return the plugin that offered an extension point. ' #NEWLINE# for plugin in self . application : #NEWLINE# #INDENT# if ( extension_point in plugin . get_extension_points ( ) ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# plugin = None #NEWLINE# #UNINDENT# return plugin