#NEWLINE# def _format_size_diff( size , diff , color ) : #NEWLINE# #INDENT# text = __format_size ( size ) #NEWLINE# if ( diff is not None ) : #NEWLINE# #INDENT# if color : #NEWLINE# #INDENT# text = ( _FORMAT_BOLD % text ) #NEWLINE# #UNINDENT# textdiff = __format_size ( diff , sign = True ) #NEWLINE# if color : #NEWLINE# #INDENT# textdiff = ( _FORMAT_YELLOW % textdiff ) #NEWLINE# #UNINDENT# text += ( ' (%s)' % textdiff ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if color : #NEWLINE# #INDENT# text = ( _FORMAT_YELLOW % text ) #NEWLINE# #UNINDENT# #UNINDENT# return text