ó x”ţfc@szddlZejdd kr,ejd=nddlZddlZddlTd„Zd„ZedkrveƒndS( i˙˙˙˙Nit.t(t*cCstjj|dƒdS(Ns (tsyststderrtwrite(tstr((s+/usr/lib64/python2.7/Tools/scripts/which.pytmsg sc CsÔtjdjtjƒ}d}d}tjdrctjdd dkrctjd}tjd=nx]tjdD]N}d}x"|D]}tjj||ƒ}ytj|ƒ}Wntj k rËq„nXt |t ƒsít |dƒnpt |t ƒ}|d@rO|s|GH|d }q]|d |kr8d } nd } t | |ƒnt |d ƒ|r„tjd |d|ƒ}|ržt dt|ƒƒqžq„q„W|sqt |dƒd}qqqqWtj|ƒdS(NtPATHiRiis-ls: not a disk fileiIis same as: salso: s: not executablesls t s"ls -l" exit status: s : not found((tostenvirontsplittpathsepRtargvtpathtjointstatterrortS_ISREGtST_MODERtS_IMODEtsystemtreprtexit( tpathlisttststlonglisttprogtidenttdirtfilenametsttmodets((s+/usr/lib64/python2.7/Tools/scripts/which.pytmainsD$       t__main__(RR(RRR RRR#t__name__(((s+/usr/lib64/python2.7/Tools/scripts/which.pyts     +