mò ©ËŽGc@s‹dkTdkZd„Zdefd„ƒYZdefd„ƒYZdefd„ƒYZd efd „ƒYZd efd „ƒYZdS( (t*NcCs©tdƒo”tidƒ\}}|djojti|dƒ}t|ƒdjo=ti|ddƒ}t|ƒdjo |dSq•dSqdSq¥dSnd SdS( Ntsshsssh -Vit,it_is- unknown ssh version -s- no ssh in $path -( t fileInPathtcommandstgetstatusoutputtstatustoutputtstringtsplittltlentll(RR R R((td/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/SSHVersion.pyt sshversions   t SSHVersioncBsGtZdZdZdZd„Zd„Zd„Zd„Zd„Z RS(Ns ssh versionsPython VersionscCsd|idtƒdS(Nt[s ], actually [s].(tselftvalueR(R((RtstrscCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no ssh in $path -s%[ssh] is not in the installer's path.sssh version is [s]. It must be [s].(RtpvtReasontrRRtsatsettok(RRR((Rt satisfied s   2cCs |iƒS(N(RR(R((Rt satisfiable+scCs |iƒS(N(RR(R((Rtacquire-scCstƒS(N(R(R((Rtrestore.s( t__name__t __module__ttypettitletactionRRRRR(((RRs   t SSHVersionLEcBs#tZdZdZdZd„ZRS(Nsssh version <=sssh version <=scCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no ssh in $path -s%[ssh] is not in the installer's path.s ssh version [s] must be <= [s].(RRRRRRRR(RRR((RR5s   2(RRR R!R"R(((RR#0st SSHVersionLTcBs#tZdZdZdZd„ZRS(Ns ssh version =sssh version >=scCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no ssh in $path -s%[ssh] is not in the installer's path.s ssh version [s] must be >= [s].(RRRRRRRR(RRR((RRUs   2(RRR R!R"R(((RR%Pst SSHVersionGTcBs#tZdZdZdZd„ZRS(Ns ssh version >sssh version >scCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no ssh in $path -s%[ssh] is not in the installer's path.s ssh version [s ] must be > [s].(RRRRRRRR(RRR((RRes   2(RRR R!R"R(((RR&`s(t StringAttrRRRR#R$R%R&(RRRR%R$R&R#((Rt?s