#NEWLINE# def replace_NONE_headers( self ) : #NEWLINE# #INDENT# "\n        Any headers that indicate 'none' should be replaced with Python\n        None values\n        " #NEWLINE# for header in self . headers : #NEWLINE# #INDENT# if ( self . headers [ header ] . upper ( ) == 'NONE' ) : #NEWLINE# #INDENT# self . headers [ header ] = None