#NEWLINE# def find_options( self , title , title_opt_2_ins ) : #NEWLINE# #INDENT# formal_title = self . formal_title ( title ) #NEWLINE# if self . namedoptions : #NEWLINE# #INDENT# for ( exists_title , options ) in title_opt_2_ins . items ( ) : #NEWLINE# #INDENT# if ( formal_title == self . formal_title ( exists_title ) ) : #NEWLINE# #INDENT# logger . debug ( 'find %s for %s' , exists_title , exists_title ) #NEWLINE# return options #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# logger . info ( '%s options not found in %s' , title , title_opt_2_ins ) #NEWLINE# raise DocpieError ( ( '%s options not found' % title ) ) #NEWLINE# #UNINDENT# #UNINDENT# return sum ( title_opt_2_ins . values ( ) , [ ] )