#NEWLINE# def handle( self , * args , **options ) : #NEWLINE# #INDENT# if options . get ( 'config' , False ) : #NEWLINE# #INDENT# hide = [ 'conf' , 'IDLE' , 'STOPPING' , 'STARTING' , 'WORKING' , 'SIGNAL_NAMES' , 'STOPPED' ] #NEWLINE# settings = [ a for a in dir ( Conf ) if ( ( not a . startswith ( '__' ) ) and ( a not in v ) ) ] #NEWLINE# self . stdout . write ( 'VERSION: {}' . format ( '.' . join ( ( str ( v ) for v in VERSION ) ) ) ) #NEWLINE# for setting in settings : #NEWLINE# #INDENT# value = getattr ( Conf , setting ) #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# self . stdout . write ( '{}: {}' . format ( setting , value ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# info ( )