#NEWLINE# def _get_cached_result( self , filename ) : #NEWLINE# #INDENT# inf = open ( filename , 'rb' ) #NEWLINE# portable_locker . lock ( inf , portable_locker . LOCK_SH ) #NEWLINE# expire = cPickle . load ( inf ) #NEWLINE# result = cPickle . load ( inf ) #NEWLINE# portable_locker . unlock ( inf ) #NEWLINE# inf . close ( ) #NEWLINE# return ( expire , result )