KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21571/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/lib64/python2.4/macurl2path.pyc
mò
‚=5Dc@sddZdkZdkZddgZd„Zd„Zd„Zd„ZedjoeƒndS(	sqMacintosh-specific module for conversion between pathnames and URLs.

Do not import directly; use urllib instead.Nturl2pathnametpathname2urlcCsàti|ƒd}|o|djo
td‚n|d djo|d}n|d djo
td‚n|idƒ}d}xÏ|t|ƒjoğ||d	jo||=q‰||d
joB|djo5||ddjo ||d|d5|d}q‰||djo-|djo ||ddjo||=q‰|d}q‰W|dpd
i	|dƒ}nZd}x=|t|ƒjo)||d
jod||<|d}qƒWd
d
i	|ƒ}ti|ƒS(s{OS-specific conversion from a relative URL of the 'file' scheme
    to a file system path; not recommended for general use.itfiles(Cannot convert non-local URL to pathnameis///is//t/t.s..itt:N(Rs..(turllibt	splittypetpathnamettptRuntimeErrortsplitt
componentstitlentjointrvtunquote(R	RRR
R
((t#/usr/lib64/python2.4/macurl2path.pyR
s:

33$
cCsċd|jo
td‚n|idƒ}|ddjo|d=n|ddjo|d=nx9tt|ƒƒD]%}||djod||<qtqtWtt|ƒ}t	i
i|ƒoddi|ƒSndi|ƒSdS(	s{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.Rs*Cannot convert pathname containing slashesRiRi˙˙˙˙s..N(
R	RRR
trangeRRtmapt_pncomp2urltostpathtisabsR(R	RR
((RR4s 

cCsti|d ddƒ}|S(NitsafeR(Rtquotet	component(R((RRKscCswx2dddddgD]}d|t|ƒfGHqWx;ddd	d
ddd
dgD]}d|t|ƒfGHqTWdS(Ns
index.htmlsbar/index.htmls/foo/bar/index.htmls	/foo/bar/Rs%r -> %rsdrive:s
drive:dir:sdrive:dir:files
drive:fileRs:files:dir:s	:dir:file(turlRRR(RR((RttestOst__main__(	t__doc__RRt__all__RRRRt__name__(R!RRRRRR((Rt?s			*			


Anon7 - 2021