• File: util.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/usr/lib/python2.7/site-packages/ptyprocess/util.pyc
  • Date Modified: 11/22/2021 6:00 PM
  • File size: 2.27 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

ڛac@ssyddlmZWnBek
rXddlZddlZejejBddZnXdefdYZ	dS(i(twhichNcsd}tjjr2||r.SdS|dkrYtjjdtj}n|scdS|jtj}t	j
dkrtj|kr|jdtjntjjddjtj}t
fd|Drg}qg|D]}|^q}n	g}t}xu|D]m}tjj|}	|	|kr+|j|	x9|D].}
tjj||
}|||rc|SqcWq+q+WdS(	sSGiven a command, mode, and a PATH string, return the path which
        conforms to the given mode on the PATH, or None if there is no such
        file.
    
        `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
        of os.environ.get("PATH"), or can be overridden with a custom search
        path.
    
        cSs5tjj|o4tj||o4tjj|S(N(tostpathtexiststaccesstisdir(tfntmode((s5/tmp/pip-install-ztITAX/ptyprocess/ptyprocess/util.pyt
_access_checks$tPATHtwin32itPATHEXTtc3s*|] }jj|jVqdS(N(tlowertendswith(t.0text(tcmd(s5/tmp/pip-install-ztITAX/ptyprocess/ptyprocess/util.pys	<genexpr>1sN(RRtdirnametNonetenvirontgettdefpathtsplittpathseptsystplatformtcurdirtinserttanytsettnormcasetaddtjoin(RRRRtpathexttfilesRtseentdirtnormdirtthefiletname((Rs5/tmp/pip-install-ztITAX/ptyprocess/ptyprocess/util.pyRs8
	! 		


tPtyProcessErrorcBseZdZRS(s%Generic error class for this package.(t__name__t
__module__t__doc__(((s5/tmp/pip-install-ztITAX/ptyprocess/ptyprocess/util.pyR)Fs(
tshutilRtImportErrorRRtF_OKtX_OKRt	ExceptionR)(((s5/tmp/pip-install-ztITAX/ptyprocess/ptyprocess/util.pyt<module>s

?