mò ©ËŽGc@s!dkTdefd„ƒYZdS((t*tPathApplicationcBs}tZdZdZdZd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z d „Z d „Zd„ZRS(Nsfile tree applicationsFile Tree Applicationssapply to file treecCs ||_dS(N(tpathtself(RR((ti/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/PathApplication.pyt__init__ scCs|i|ijS(N(RRtx(RR((Rtequal scCs|iS(N(RR(R((Rtstr scCstd| d|i ƒS(Nt[s] has not been applied(tReasonRtacquired(R((Rt satisfiedscCstƒS(N(R (R((Rt satisfiablescCstdƒdS(Ns#Missing fileApp in PathApplication.(tabort(Rtfilename((RtfileAppscCstdƒdS(Ns#Missing direApp in PathApplication.(R(Rtdirename((RtdireAppscCstdƒdS(Ns#Missing fileInv in PathApplication.(R(RR((RtfileInvscCstdƒdS(Ns#Missing direInv in PathApplication.(R(RR((RtdireInvscsz‡d†}d}tiitˆiƒ||ƒ|djo1tˆiƒˆ_tdˆ d|dƒSntƒSdS(NcsŸd}ysˆi|ƒx_|D]W}y ˆitii ||ƒƒWqt t fj otii ||ƒ}qXqWWnt t fj o |}nXdS(Nt( targRRtdirnametnamesRRtosRtjointIOErrortOSError(RRRR(R(Rtapps  "RsFailure attempting [s] at [s].(RRRRtwalktfullpathRR (RRR((RRtacquires  csb‡d†}d}tiiˆi||ƒ|djotdˆ d|dƒSntƒSdS(NcsŸd}ysˆi|ƒx_|D]W}y ˆitii ||ƒƒWqt t fj otii ||ƒ}qXqWWnt t fj o |}nXdS(NR( RRRRRRRRRRRR(RRRR(R(Rtinv/s  "RsFailure attempting to retract [s] at [s].(R!RRRRRR (RR!R((RRtretract.s   (t__name__t __module__ttypettitletactionRRRR R RRRRR R"(((RRs          N(t EnvironmentR(R((Rt?s