#NEWLINE# def get_arg_value( self , arg_name , default_value = None ) : #NEWLINE# #INDENT# value = ( self . args [ arg_name ] if ( self . args . has_key ( arg_name ) and ( self . args [ arg_name ] != '' ) ) else default_value ) #NEWLINE# return value