관리-도구
편집 파일: _permission.cpython-37.pyc
B ���a� � @ sP d dl mZmZ d dlZd dlmZmZmZ d dlm Z dd� Z dd� Zd ZdS ) � )�absolute_import�unicode_literalsN)�S_IXGRP�S_IXOTH�S_IXUSR)�ensure_textc C s| | � � j}tttg}xbtt|�dd�D ]N}y2|}x|d |� D ]}||O }q>W | �|� P W q& tk rr w&Y q&X q&W d S )Nr ���) �stat�st_moder r r �range�len�chmod�OSError)�filenameZ original_mode�levelsZat�mode�level� r �Q/opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/path/_permission.py�make_exe s r c C sJ xDt �tt| ���D ].\}}}x"|D ]}t �t j�||�|� q$W qW d S )N)�os�walkr �strr �path�join)Zfolderr �root�_�filesr r r r �set_tree s r )r r ) � __future__r r r r r r r Zvirtualenv.util.sixr r r �__all__r r r r �<module> s