KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/task/21573/root/proc/21572/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/task/21573/root/proc/21572/root/usr/lib64/python2.4/linecache.pyo
mò
‚=5Dc@sadZdkZdkZdddgZd„Zhad„Zd„Zdd„Z	d	„Z
dS(
sµCache lines from files.

This is intended to read lines from modules imported -- hence if a filename
is not found, it will look down the module search path for a file by
that name.
Ntgetlinet
clearcachet
checkcachecCsHt|ƒ}d|jot|ƒjno||dSndSdS(Nit(tgetlinestfilenametlinestlinenotlen(RRR((t!/usr/lib64/python2.4/linecache.pyR
s$cCs
hadS(sClear the cache entirely.N(tcache(((R	RscCs+|tjot|dSnt|ƒSdS(ssGet the lines for a file from the cache.
    Update the cache if it doesn't contain an entry for this file already.iN(RR
tupdatecache(R((R	R!s
cCsÇ|djotiƒ}n|tjo
|g}ndSx…|D]}}t|\}}}}yt	i
|ƒ}Wn t	ij
ot|=qBnX||ijp||i
jot|=qBqBWdS(sUDiscard cache entries that are out of date.
    (This is not checked upon each call!)N(RtNoneR
tkeyst	filenamestsizetmtimeRtfullnametoststatterrortst_sizetst_mtime(RRRRRRR((R	R+s 


 c
Csw|tjot|=n|p|d|ddjogSn|}yti|ƒ}Wn¨tij
o™}tii|ƒd}x|t
iD]h}ytii||ƒ}Wnt
tfj
oqXyti|ƒ}PWqtij
oqXqWgSnXy)t|dƒ}|iƒ}|iƒWntj
o
}gSnX|i|i}	}|	|||ft|<|S(s”Update a cache entry and return its list of lines.
    If something's wrong, print a message, discard the cache entry,
    and return an empty list.ii˙˙˙˙s<>itrUN(RR
RRRRtmsgtpathtsplittbasenametsystdirnametjoint	TypeErrortAttributeErrortopentfpt	readlinesRtclosetIOErrorRRRR(
RR"RRRRRRRR((R	RBs>
!
			(t__doc__RRt__all__RR
RRRRR(RRR'RRRRR((R	t?s			
		


Anon7 - 2021