EVOLUTION-MANAGER
Edit File: generic.cpython-36.pyc
3 �f� � @ s@ d dl mZ d dlZd dlZG dd� de�ZG dd� de�ZdS )� )�SoSObfuscationArchiveNc @ s, e Zd ZdZdZdZedd� �Zdd� ZdS ) �DataDirArchivez{A plain directory on the filesystem that is not directly associated with any known or supported collection utility Zdata_dirzunassociated directoryc C s t jj|�S )N)�os�path�isdir)�cls�arc_path� r �/usr/lib/python3.6/generic.py� check_is_type s zDataDirArchive.check_is_typec C s t jj| j�S )N)r r �abspathZarchive_path)�selfr r r �set_archive_root s zDataDirArchive.set_archive_rootN) �__name__� __module__�__qualname__�__doc__� type_name�description�classmethodr r r r r r r s r c @ s, e Zd ZdZdZdZedd� �Zdd� ZdS ) �TarballArchivezdA generic tar archive that is not associated with any known or supported collection utility Ztarballzunassociated tarballc C s$ y t j|�S tk r dS X d S )NF)�tarfileZ is_tarfile� Exception)r r r r r r * s zTarballArchive.check_is_typec C s | j jj� r| j jjS dS )N� )ZtarobjZfirstmemberr �name)r r r r r 1 s zTarballArchive.set_archive_rootN) r r r r r r r r r r r r r r "