File: //usr/local/lib/python2.7/macurl2path.pyo
�
M��ac @ sI d Z d d l Z d d l Z d d g Z d � Z d � Z d � Z d S( sq Macintosh-specific module for conversion between pathnames and URLs.
Do not import directly; use urllib instead.i����Nt url2pathnamet pathname2urlc C s� t j | � d } | r1 | d k r1 t d � n | d d k rN | d } n | d d k rj t d � n | j d � } d } x� | t | � k rD| | d k r� | | =q� | | d
k r� | d k r� | | d d k r� | | d | d 5| d } q� | | d k r7| d k r7| | d d k r7| | =q� | d } q� W| d sed
j | d � } nV d } x: | t | � k r�| | d
k r�d | | <| d } qnWd
d
j | � } t j | � S( s{ OS-specific conversion from a relative URL of the 'file' scheme
to a file system path; not recommended for general use.i t files( Cannot convert non-local URL to pathnamei s ///i s //t /t .s ..i t t :( R s ..( t urllibt splittypet RuntimeErrort splitt lent joint unquote( t pathnamet tpt
componentst it rv( ( s'