#NEWLINE# def parse_hookimpl_opts( self , plugin , name ) : #NEWLINE# #INDENT# method = getattr ( plugin , name ) #NEWLINE# res = getattr ( method , ( self . project_name + '_impl' ) , None ) #NEWLINE# if ( ( res is not None ) and ( not isinstance ( res , dict ) ) ) : #NEWLINE# #INDENT# res = None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( res is None ) and self . _implprefix and name . startswith ( self . _implprefix ) ) : #NEWLINE# #INDENT# res = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# #UNINDENT# return res