#NEWLINE# def details( self , obj ) : #NEWLINE# #INDENT# output = [ ] #NEWLINE# brief_details = obj . stats [ 'brief_details' ] #NEWLINE# for ( k , v ) in ( brief_details . items ( ) if PY3 else brief_details . iteritems ( ) ) : #NEWLINE# #INDENT# output . append ( ( '<dt>%s</dt><dd>%s</dd>' % ( k , v ) ) ) #NEWLINE# #UNINDENT# if output : #NEWLINE# #INDENT# return ( '<dl class="details">%s</dl>' % '' . join ( output ) ) #NEWLINE# #UNINDENT# return 'n/a'