shell bypass 403
3
@|�eJ) � @ 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| �j||� |d krd S |jt� d S )N)�superr �__init__Zregister_command�RepoManageCommand)�self�base�cli)� __class__� � /usr/lib/python3.6/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 j r(| j j r(| jjtjtjd� d S )N)�stdout�stderr)�opts�verbose�quietr
Zredirect_logger�loggingZWARNING�INFO)r r r r �
pre_configure/ s zRepoManageCommand.pre_configurec C s0 | j j r| j j r| jj� | jj}d|_d S )NT)r r r r
Zredirect_repo_progress�demandsZsack_activation)r r r r r � configure3 s
zRepoManageCommand.configurec "