#NEWLINE# def __unicode__( self ) : #NEWLINE# #INDENT# result = [ ( '\n%s: %s' % ( self . kind , self . _cleanup ( self . msg ) ) ) ] #NEWLINE# if self . detail : #NEWLINE# #INDENT# result . append ( ( 'DETAIL: ' + self . _cleanup ( self . detail ) ) ) #NEWLINE# #UNINDENT# if self . hint : #NEWLINE# #INDENT# result . append ( ( 'HINT: ' + self . _cleanup ( self . hint ) ) ) #NEWLINE# #UNINDENT# return '\n' . join ( result )