ok
Direktori : /proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/ |
Current File : //proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyc |
� �Rec @ s� d d l Z d d l Z d d l m Z d d l m Z d d l m Z e rm d d l m Z m Z m Z n d � Z d � Z d � Z d S( i����N( t parse( t request( t MYPY_CHECK_RUNNING( t Optionalt Textt Unionc C s* d | k r d S| j d d � d j � S( Nt :i i ( t Nonet splitt lower( t url( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyt get_url_scheme s c C s= t j j t j j | � � } t j d t j | � � } | S( sh Convert a path to a file: URL. The path will be made absolute and have quoted path parts. s file:( t ost patht normpatht abspatht urllib_parset urljoint urllib_requestt pathname2url( R R ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyt path_to_url s c C s� | j d � s'