관리-도구
편집 파일: repomanage.cpython-39.pyc
a �&cJ) � @ sz d dl mZ d dl mZ d dlmZmZ d dlZd dlZd dlZd dl Z d dl Z G dd� dej�ZG dd� dej j�ZdS ) � )�absolute_import)�unicode_literals)�_�loggerNc s e Zd ZdZ� fdd�Z� ZS )� RepoManage� repomanagec s, t t| ��||� |d u rd S |�t� d S �N)�superr �__init__Zregister_command�RepoManageCommand)�self�base�cli�� __class__� �:/usr/lib/python3.9/site-packages/dnf-plugins/repomanage.pyr $ s zRepoManage.__init__)�__name__� __module__�__qualname__�namer � __classcell__r r r r r s r c @ s\ e Zd ZdZed�Zdd� Zdd� Zdd� Ze d d � �Z e dd� �Zd d� Ze dd� �Z dS )r )r z"Manage a directory of rpm packagesc C s( | j js$| j js$| jjtjtjd� d S )N)�stdout�stderr)�opts�verbose�quietr Zredirect_logger�loggingZWARNING�INFO�r r r r � pre_configure/ s zRepoManageCommand.pre_configurec C s, | j js| j js| j�� | jj}d|_d S )NT)r r r r Zredirect_repo_progress�demandsZsack_activation)r r! r r r � configure3 s zRepoManageCommand.configurec "