#NEWLINE# def success( self , string ) : #NEWLINE# #INDENT# '\n        Writes out a string to stdout formatted green to communicate success.\n        ' #NEWLINE# if ( not self . no_color ) : #NEWLINE# #INDENT# string = colorize ( string , fg = 'green' ) #NEWLINE# #UNINDENT# self . stdout . write ( string )