Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/policies/distros/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/policies/distros/__pycache__/anolis.cpython-36.opt-1.pyc

3

�f��@s,ddlmZmZddlZGdd�de�ZdS)�)�RedHatPolicy�
OS_RELEASENcs:eZdZdZdZdgZd
�fdd�	Zedd
d��Z�Z	S)�AnolisPolicyz	Anolis OSzThe OpenAnolis Project�Distribution Website�https://openanolis.org/NTcstt|�j||||d�dS)N)�sysroot�init�
probe_runtime�remote_exec)�superr�__init__)�selfrrr	r
)�	__class__��/usr/lib/python3.6/anolis.pyrszAnolisPolicy.__init__�c
Csl|r|j|kStjjt�sdStjjd�s.dSttd��*}x"|D]}|jd�r@d|kr@dSq@WWdQRXdS)NFz/etc/anolis-release�r�NAMEz	Anolis OST)�distro�os�path�existsr�isfile�open�
startswith)�clsZremote�f�linerrr�checks


zAnolisPolicy.check)rr)NNTN)r)
�__name__�
__module__�__qualname__rZvendorZvendor_urlsr�classmethodr�
__classcell__rr)rrr
sr)Zsos.policies.distros.redhatrrrrrrrr�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists