#NEWLINE# def close( self ) : #NEWLINE# #INDENT# oldvalue = oldvalue . value #NEWLINE# self . value = self . getvalue ( ) #NEWLINE# if ( oldvalue != self . value ) : #NEWLINE# #INDENT# self . put ( ) #NEWLINE# memcache . set ( self . key ( ) . id_or_name ( ) , self . value , namespace = 'DatastoreFile' )