Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/dnf/cli/__pycache__/ |
Upload File : |
a �!c� � @ s� d dl mZ d dl mZ d dlmZ d dlZd dlZd dlm Z d dl Zd dlZd dl Z d dlZd dlZe �d�ZdZej�ed�Zej�ed �ZG d d� de�ZG dd � d e�ZdS )� )�absolute_import)�unicode_literals)�_N)�PRIO_DEFAULT�dnfz/etc/dnf/aliases.d/zALIASES.confz USER.confc @ s, e Zd Zdd� Zedd� �Zedd� �ZdS )� AliasesConfigc C s$ || _ tj�� | _| j�| j � d S )N)�_path�libdnf�confZConfigParser�_parser�read)�self�path� r �3/usr/lib/python3.9/site-packages/dnf/cli/aliases.py�__init__* s zAliasesConfig.__init__c C sF t j�d�}z|�t| j�� d d � W n ty< Y n0 |�� S )NT�main�enabled) r r � OptionBool�setr r ZgetData� IndexError�getValue�r �optionr r r r / s zAliasesConfig.enabledc C sR t �� }d}| j�|�s|S | j�|�D ]$}| j�||�}|s@q(|�� ||<