AlkantarClanX12
Current Path : /proc/self/root/lib64/python3.6/distutils/__pycache__/ |
Current File : //proc/self/root/lib64/python3.6/distutils/__pycache__/dep_util.cpython-36.opt-2.pyc |
3 \� � @ s2 d dl Z d dlmZ dd� Zdd� Zd dd �ZdS )� N)�DistutilsFileErrorc C s` t jj| �s tdt jj| � ��t jj|�s0dS ddlm} t j| �| }t j|�| }||kS )Nzfile '%s' does not exist� r )�ST_MTIME)�os�path�existsr �abspath�statr )�source�targetr Zmtime1Zmtime2� r �*/usr/lib64/python3.6/distutils/dep_util.py�newer s r c C sl t | �t |�krtd��g }g }xBtt | ��D ]2}t| | || �r.|j| | � |j|| � q.W ||fS )Nz+'sources' and 'targets' must be same length)�len� ValueError�ranger �append)�sourcesZtargetsZ n_sourcesZ n_targets�ir r r �newer_pairwise s r �errorc C s� t jj|�sdS ddlm} t j|�| }xX| D ]L}t jj|�sb|dkrJn|dkrVq0n|dkrbdS t j|�| }||kr0dS q0W dS d S )Nr r )r r �ignorer )r r r r r )r r Zmissingr Ztarget_mtimer �source_mtimer r r �newer_group6 s r )r )r Zdistutils.errorsr r r r r r r r �<module> s