#NEWLINE# def _get_memcache_timeout( self , timeout ) : #NEWLINE# #INDENT# '\n        Memcached deals with long (> 30 days) timeouts in a special\n        way. Call this function to obtain a safe value for your timeout.\n        ' #NEWLINE# timeout = ( self or self . default_timeout ) #NEWLINE# if ( timeout > 2592000 ) : #NEWLINE# #INDENT# timeout += int ( time . time ( ) ) #NEWLINE# #UNINDENT# return timeout