mò ©ËŽGc@s]dkTdkTdkZdefd„ƒYZdefd„ƒYZdefd„ƒYZdS((t*NtTextFilecBsetZdZdZdZdd„Zd„Zd„Zd„Zd „Z d „Z d „Z d „Z RS( Ns text filescreate text files Text FilesicCsh|||_|_||_xEt|iƒdjo.ti|idƒdjo|iiƒqWdS(Niiÿÿÿÿt( tpathtlinestselfttranst_transtlentstringtstriptpop(RRRR((tb/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/TextFile.pyt__init__ s  3cCs/t|iƒt|iƒjo|i|ijS(N(tfullpathRRttR(RR((R tequalscCs|iS(N(RR(R((R tstrscCs;td| d| dt|iƒt|iƒjƒdS(Nt[s] and [s] are incompatible.(tReasonRRRR(RR((R t compatiblescCstd|iƒd|i ƒS(NsFile [s] has not been attempted.(RRRtacquired(R((R t satisfiedscCstƒS(N(R(R((R t satisfiablescCsätƒ}t|iƒ}|ioAg}x*|iD]}|i t ii |ƒƒq2W||_nyKt |dƒ}x"|iD]}|i|dƒqW|iƒ||_Wn/ttfj o|id| dƒnX|S(Ntws sFailure attempting to write [s].(RtreasonRRRRtlsRtlinetappendtost expandvarstopentftwritetclosetIOErrortOSError(RR RRRR((R tacquire s$      cCsmtƒ}tii|iƒoJyti|iƒWqittfj o|id| dƒqiXn|S(NsFailure attemting to remove [s].( RRRRtexistsRtremoveR#R$(RR((R tretract0s ( t__name__t __module__ttypetactionttitleR RRRRRR%R((((R Rs       tPersistentTextFilecBs#tZdZdZdZd„ZRS(NsPersistent text filessPersistent Text Filessmake persistent text filecCstƒS(N(R(R((R R(=s(R)R*R+R-R,R((((R R.9st SourceCodecBs5tZdZdZdZd„Zd„Zd„ZRS(Nspacman source codesPacman SourcescCstƒS(N(R(R((R RDscCstƒS(N(R(R((R REscCs¡|i| dƒ|idƒd}|idƒ|iƒx;|iD]0}|d}| d}|id|dƒqEW|idƒ|iƒ|id ƒdS( Nis
    is
    s.   sss
    s
(RttextRtcounttcrRRtnum(RRR1R3R((R thtmlOutHs   (R)R*R+R-R,RRR4(((R R/?s   (t EnvironmenttWebPageRRR.R/(R.RRR/((R t?s  1