Current Path : /usr/lib/python3.6/site-packages/pip/utils/__pycache__/ |
Current File : //usr/lib/python3.6/site-packages/pip/utils/__pycache__/filesystem.cpython-36.pyc |
3 �Pf� � @ s( d dl Z d dlZ d dlmZ dd� ZdS )� N)�get_path_uidc C s� t td�sdS d }xp| |kr�tjj| �rntj� dkr^yt| �}W n tk rT dS X |dkS tj| tj�S q| tjj | � }} qW d S )N�geteuidTr F) �hasattr�os�path�lexistsr r �OSError�access�W_OK�dirname)r ZpreviousZpath_uid� r � /usr/lib/python3.6/filesystem.py�check_path_owner s r )r Zos.pathZ pip.compatr r r r r r �<module> s