Your IP : 3.145.69.185
3
�<�e3 � @ s� d dl Z d dlZd dlZd dlZd dlZd dlmZmZ yd dlZ dZ
W n dZ
Y nX d dljZd dl
Zd dlmZ ejj� ZG dd� d�ZdS )� N)�ConfigParser�ErrorTF)�commandsc @ s0 e Zd Zddd�Zdd� Zd
dd�Zd d
� ZdS )�ProfileRecommenderFc C s || _ t� | _d | _d S )N)�
_is_hardcodedr � _commands�
_chassis_type)�selfZis_hardcoded� r
�)/usr/lib/python3.6/profile_recommender.py�__init__ s zProfileRecommender.__init__c
C s t j}| jr|S tj� dk}|s*tjd� | jt j|d�}|d k rF|S i }x�t j D ]|}g }ytj
|�}W n@ tk
r� } z$|jtj
kr�tjd||f � W Y d d }~X nX x"|D ]}tjj||�} | ||<