#NEWLINE# def result_processor( self , dialect , coltype ) : #NEWLINE# #INDENT# wants_unicode = ( self . convert_unicode or dialect . convert_unicode ) #NEWLINE# needs_convert = ( wants_unicode and ( ( dialect . returns_unicode_strings is not True ) or ( self . convert_unicode in ( 'force' , 'force_nocheck' ) ) ) ) #NEWLINE# needs_isinstance = ( needs_convert and dialect . returns_unicode_strings and ( self . convert_unicode != 'force_nocheck' ) ) #NEWLINE# if self : #NEWLINE# #INDENT# if needs_isinstance : #NEWLINE# #INDENT# return processors . to_conditional_unicode_processor_factory ( dialect . encoding , self . unicode_error ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return processors . to_unicode_processor_factory ( dialect . encoding , self . unicode_error ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return None