EVOLUTION-MANAGER
Edit File: azure.cpython-36.opt-1.pyc
3 �fB � @ s8 d dl mZ d dlmZmZ d dlZG dd� de�ZdS )� )�AzurePlugin)�RedHatPolicy� OS_RELEASENc s: e Zd ZdZdZdgZd � fdd� Zedd d��Z� Z S )�AzurePolicyzAzure LinuxZ Microsoft�Distribution Website�'https://github.com/microsoft/azurelinuxNTc s, t t| �j||||d� | jtg7 _d S )N)�sysroot�init� probe_runtime�remote_exec)�superr �__init__Zvalid_subclassesr )�selfr r r r )� __class__� �/usr/lib/python3.6/azure.pyr s zAzurePolicy.__init__� c C sh |r| j |kS tjjt�sdS ttd��6}x.|D ]&}|jd�r0d|krJdS d|kr0dS q0W W d Q R X dS )NF�r�NAMEzCommon Base Linux MarinerTzMicrosoft Azure Linux)�distro�os�path�existsr �open� startswith)�clsZremote�f�liner r r �check s zAzurePolicy.check)r r )NNTN)r ) �__name__� __module__�__qualname__r ZvendorZvendor_urlsr �classmethodr � __classcell__r r )r r r s r )Zsos.report.pluginsr Zsos.policies.distros.redhatr r r r r r r r �<module> s