#NEWLINE# def _clear_empty_values( args ) : #NEWLINE# #INDENT# '\n    Scrap junk data from a dict.\n    ' #NEWLINE# result = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for param in args : #NEWLINE# #INDENT# if ( args [ param ] is not None ) : #NEWLINE# #INDENT# result [ param ] = args [ param ] #NEWLINE# #UNINDENT# #UNINDENT# return result