B
    ê¹`ç  ã               @   s(   d Z G dd„ deƒZdd„ Zdd„ ZdS )z8Simple value objects for tracking what to do with files.c               @   s   e Zd ZdZdS )ÚFileDispositionz9A simple value type for recording what to do with a file.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   ú\/home/kop/projects/devel/pgwui/test_venv/lib/python3.7/site-packages/coverage/disposition.pyr      s   r   c             C   s4   | ƒ }||_ ||_d|_d|_d|_d|_d|_|S )z6Construct and initialize a new FileDisposition object.NFÚ )Úoriginal_filenameZcanonical_filenameZsource_filenameÚtraceÚreasonÚfile_tracerZhas_dynamic_filename)Úclsr	   Údispr   r   r   Údisposition_init   s    r   c             C   s<   | j r(d| jf }| jr8|d| j 7 }nd| j| jf }|S )z?Make a nice debug message of what the FileDisposition is doing.z
Tracing %rz: will be traced by %rzNot tracing %r: %s)r
   r	   r   r   )r   Úmsgr   r   r   Údisposition_debug_msg   s    r   N)r   Úobjectr   r   r   r   r   r   r   Ú<module>   s   	