Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/cleaner/archives/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �gO � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�SoSObfuscationArchivec @ s, e Zd ZdZdZdZedd� �Zdd� ZdS ) �InsightsArchivezbThis class represents archives generated by the insights-client utility for RHEL systems. Zinsightszinsights-client archivec C s, yt j|�od|kS tk r& dS X d S )Nz insights-F)�tarfileZ is_tarfile� Exception)�clsZarc_path� r �/usr/lib/python3.6/insights.py� check_is_type s zInsightsArchive.check_is_typec C s4 | j jd�d jd�d }| jjjdkr0d| }|S )N�/� z.tarr �.z./���)Zarchive_path�splitZtarobjZfirstmember�name)�self�topr r r �get_archive_root s z InsightsArchive.get_archive_rootN) �__name__� __module__�__qualname__�__doc__Z type_name�description�classmethodr r r r r r r s r )r Zsos.cleaner.archivesr r r r r r �<module> s