EVOLUTION-MANAGER
Edit File: sos.cpython-36.pyc
3 �f8 � @ s` d dl mZ d dlZd dlZG dd� de�ZG dd� de�ZG dd� de�ZG d d � d e�ZdS )� )�SoSObfuscationArchiveNc @ s$ e Zd ZdZdZdZedd� �ZdS )�SoSReportArchivez�This is the class representing an sos report, or in other words the type the archive the SoS project natively generates Zreportzsos report archivec C s, yt j|�od|kS tk r& dS X d S )Nz sosreport-F)�tarfile� is_tarfile� Exception)�cls�arc_path� r �/usr/lib/python3.6/sos.py� check_is_type s zSoSReportArchive.check_is_typeN)�__name__� __module__�__qualname__�__doc__� type_name�description�classmethodr r r r r r s r c @ s$ e Zd ZdZdZdZedd� �ZdS )�SoSReportDirectoryz�This is the archive class representing a build directory, or in other words what `sos report --clean` will end up using for in-line obfuscation Z report_dirzsos report directoryc C s t jj|�rdt j|�kS dS )NZsos_logsF)�os�path�isdir�listdir)r r r r r r * s z SoSReportDirectory.check_is_typeN)r r r r r r r r r r r r r "