#NEWLINE# def _create_plugin_from_ep( self , ep ) : #NEWLINE# #INDENT# ' Create a plugin from an extension point. ' #NEWLINE# klass = ep . load ( ) #NEWLINE# plugin = klass ( application = self . application ) #NEWLINE# if ( ep . name != plugin . id ) : #NEWLINE# #INDENT# logger . warn ( ( 'entry point name <%s> should be the same as the plugin id <%s>' % ( ep . name , plugin . id ) ) ) #NEWLINE# #UNINDENT# return ep