mò ©ËŽGc@s8dkTdkTdkTdkZdefd„ƒYZdS((t*NtFileTransferSpeedMinimumcBsYtZdZdZdZd„Zd„Zd„Zd„Zd„Z d „Z d „Z RS( Nsfile copy speedsFile Copy Speedsstest file copy speedcCs.||_t|ƒ|_d|_||_dS(Nf0.0(tpathtselftfloattfileMegst transferRatetminimumMegsPerSecond(RRRR((tk/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/FileTransferSpeed.pyt__init__s  cCsI|i|ijo6|i|ijo#|i|ijo|i|ijS(N(RRtxRRR(RR ((RtequalscCsw|idjo0dd|idtiƒd|idSn4d|idd|idtiƒd |iSdS( Nf0.0s> s%gs megs per second from [s] to [t]s Megs per second > s Megs per second from s to (RRRtostgetcwdR(R((Rtstrs0cCstd|i ƒS(Ns0File transfer speed test has not been attempted.(tReasonRtacquired(R((Rt satisfiedscCstƒS(N(R(R((Rt satisfiablescCs:tt|iƒdƒ}|iƒotiƒ}tdt i i t |i ƒdƒƒ}tiƒ}tdƒtt i i t |i ƒdƒƒ||jod|i}nt|iƒ||}||_d|}d|i}||ijo<td|dd|idt iƒd |i ƒ}q6n|S( Ns zzz-tmp-filescp zzz-tmp-file szzz-tmp-file-cf2.0s%gsFile transfer rate of s+ megs per second is less than the minimum: s from s to (tmakeFileFixedSizetintRRtreasontokttimett1texecuteR Rtjointfullpathtt2t removeFileRtmpsRRtsts2RR(RR!RR RRR((Rtacquire s   (  "    @cCsd|_tƒS(Nf0.0(RRR(R((Rtretract2s ( t__name__t __module__ttypettitletactionR R RRRR"R#(((RR s      (t FloatAttrtBaset ExecutionRR(RR((Rt?s