File: //lib/python3.6/site-packages/ipaplatform/__pycache__/osinfo.cpython-36.opt-1.pyc
3
�d[e� � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl
Z
yddlmZ W n e
k
rt dZY nX ejd�Zd
dd �ZG d
d� de�Ze� Zeje
_edkr�ddlZejee�� dS )a� Distribution information
Known Linux distros with /etc/os-release
----------------------------------------
- alpine
- centos (like rhel, fedora)
- debian
- fedora
- rhel
- ubuntu (like debian)
The platform ids for ipaplatform providers are based on:
1) IPAPLATFORM_OVERRIDE env var
2) ipaplatform.override.OVERRIDE value
3) ID field of /etc/os-release (Linux)
4) ID_LIKE fields of /etc/os-release (Linux)
� )�absolute_import)�MappingN)�OVERRIDEzF^(?!#)(?P<name>[a-zA-Z0-9_]+)=(?P<quote>["']?)(?P<value>.+)(?P=quote)$�/etc/os-releasec C s� i }t | ��:}x2|D ]*}tj|�}|dk r|jd�||jd�<