mō ŠËŽGc@sDdkTdkTdkTdkZhZdeeefd„ƒYZdS((t*NtAccesscBswtZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „d „Z d „Z d „Z d „Z RS(NtcCs;|iƒ\}}d}x|D]}||d}qW|S(NRt (tselftnamestrtnmststname(RRRRR ((t`/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/Access.pyt__repr__ s cCstdƒdS(NsMissing names in Access.(tabort(R((R RscCstdƒdS(NsMissing access in Access.(R (R((R taccessscCs| S(N(R(R((R t accessNamescCst| d|iƒ ƒS(Ns is not accessible.(tReasonRR (R((R taccessGettablescCs×tiƒ}tiittdtii|ƒƒ}|i ||ƒ}|i ƒowy3t|dƒ}|iƒ}|iƒt|ƒWn3ttfj o!g}td|dƒ}nX||fSn |gfSdS(NttmpRsError reading [s].(ttempfiletmktempttmpfiletostpathtjoint pac_anchort pacmanDirtbasenameRtgetFileR treasontoktopentft readlinestlinestcloset removeFiletIOErrortOSErrorR(RR RRR!R((R tgetLiness '   cCstdƒdS(NsMissing getFile in Access.(R (RR ttarget((R R)scCsdS(Ni((tn((R t*scCsvtƒ}|iƒ\}}|iƒoJxG|D];}||ƒo(|i||ƒ}|iƒpPqjq/q/Wn|S(N( RRRRRR tselectRR'(RR'R*RRR ((R t getDirectory*s    cCsŪtiidƒptdƒd}nd}tiid|ƒ}t|ƒ|i ||ƒ}d}|iƒoNyt|ƒ}t|ƒWqŋttfj otd|dƒ}qŋXn|otdƒn||fS(NRs mkdir tmpiit[s] does not contain an object.s rm -r -f tmp(RRtexiststexecutetnewtmpRR RR#RRRtNonetobjRtgetR$R%R(RR R1RRR/((R tgetObj3s"     cCsŪ|iƒ\}}|iƒo˛d|joĨti| ƒ o“|idƒ\}}d}xK|D]C}t |ƒdjo*t i |d ƒdj o|d }Pq`q`W|djpt|ƒ}qÚtƒ}n tƒ}|S(NtlockRii˙˙˙˙(Rt namesPathRRRt _freeLockthas_keyR&R!tmessagetlinetlentstringtstripR(RR!RRR8R9((R t lockCheckGs,.     cCs"|iƒ\}}|||jfS(N(RRRR (RR RR((R thasVs(t__name__t __module__tlocationR RR RRR&RR+R3R=R>(((R R s         ( tBasetWebPaget ExecutionRR6tSettHtmlOuttPrintOutR(RR6R((R t?s