#NEWLINE# def _determine_best_format( self ) : #NEWLINE# #INDENT# verbosity = self . _output . get_verbosity ( ) #NEWLINE# decorated = self . _output . is_decorated ( ) #NEWLINE# if ( verbosity == Output . VERBOSITY_VERBOSE ) : #NEWLINE# #INDENT# if decorated : #NEWLINE# #INDENT# return 'verbose' #NEWLINE# #UNINDENT# return 'verbose_no_ansi' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( verbosity in [ Output . VERBOSITY_VERY_VERBOSE , Output . VERBOSITY_DEBUG ] ) : #NEWLINE# #INDENT# if decorated : #NEWLINE# #INDENT# return 'very_verbose' #NEWLINE# #UNINDENT# return 'very_verbose_no_ansi' #NEWLINE# #UNINDENT# #UNINDENT# if self : #NEWLINE# #INDENT# return 'normal' #NEWLINE# #UNINDENT# return 'normal_no_ansi'