#NEWLINE# def arg_cleanup_code( self ) : #NEWLINE# #INDENT# arg_strings = [ ] #NEWLINE# have_cleanup = filter ( ( lambda x : x . cleanup_code ( ) ) , self . arg_specs ) #NEWLINE# for arg in have_cleanup : #NEWLINE# #INDENT# code = ( 'if(%s)\n' % arg . init_flag ( ) ) #NEWLINE# code += '{\n' #NEWLINE# code += indent ( arg . cleanup_code ( ) , 4 ) #NEWLINE# code += '}\n' #NEWLINE# arg_strings . append ( code ) #NEWLINE# #UNINDENT# code = '' . join ( arg_strings ) #NEWLINE# return code