ok

Mini Shell

Direktori : /opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/macurl2path.cpython-35.opt-2.pyc



���]�
�@sLddlZddlZddgZdd�Zdd�Zdd�ZdS)�N�url2pathname�pathname2urlcCs�tjj|�d}|r4|dkr4td��|dd�dkr]|dd�}n"|dd�dkrtd��|jd�}d}x�|t|�kr\||d	kr�||=q�||d
kr|dkr||ddkr||d|d�=|d}q�||dkrO|dkrO||ddkrO||=q�|d}q�W|ds�d
j|dd��}nVd}x:|t|�kr�||d
kr�d||<|d}q�Wd
d
j|�}tjj|�S)Nr�filez(Cannot convert non-local URL to pathname�z///�z//�/�.�..���:)rr	)�urllib�parseZ	splittype�RuntimeError�split�len�join�unquote)�pathname�tp�
components�i�rv�r�0/opt/alt/python35/lib64/python3.5/macurl2path.pyr
s6

0

%
cCs�d|krtd��|jd�}|ddkr>|d=|ddkrU|d	=x4tt|��D] }||dkrhd||<qhWtt|�}tjj|�r�ddj	|�Sdj	|�SdS)
Nrz*Cannot convert pathname containing slashesrrrr
z..���r)
rr�ranger�map�_pncomp2url�os�path�isabsr)rrrrrrr4scCs tjj|dd�dd�S)N�Zsafer)r
r�quote)Z	componentrrrrKsr)Zurllib.parser
r�__all__rrrrrrr�<module>s
*

Zerion Mini Shell 1.0