관리-도구
편집 파일: config.cpython-37.pyc
B �v6d� � @ s� d dl mZ d dl mZ d dl mZ d dlZd dlZd dlmZmZm Z d dl mZ d dlm Z d dlmZ d d lmZ d dlmZmZmZ d dl mZ G d d� deee��ZdS )� )�absolute_import)�print_function)�divisionN)�ABCMeta�abstractmethod�abstractproperty)� iteritems)�write_file_via_tempfile)�utils� )�BasePkgManager)�BaseSelectorError�ENABLED_STATUS�DISABLED_STATUS)�with_metaclassc @ s� e Zd ZdZdd� Zedd� �Zedd� �Ze dd � �Z ed d� �Zdd � Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zedd� �Zejdd� �Zdd� Zdd � Zd!d"� Zed#d$� �Zd%S )&�BaseSelectorConfigzW Base class that responsible for all interaction with CL selector config files c C s | � � | _|| _| �� d S )N)�_get_config_object�Cfg�pkg�reload)�selfr � r �M/opt/alt/python37/lib/python3.7/site-packages/clselect/baseclselect/config.py�__init__ s zBaseSelectorConfig.__init__c C s t � �dS )z%Should return path to the config fileN)�NotImplementedError)r r r r �_config_file! s zBaseSelectorConfig._config_filec C s t � �dS )z0Should create all needed directories for configsN)r )r r r r �_create_config_dirs&