Server IP : 184.154.167.98 / Your IP : 18.224.66.28 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/dnf/cli/commands/__pycache__/ |
Upload File : |
3 �ft` � @ sR d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ G dd� dej �Z dS ) � )�absolute_import)�unicode_literals)�commands)�OptionParser)�_c @ s8 e Zd ZdZdZed�Zedd� �Zdd� Z d d � Z dS ) �DowngradeCommandzWA class containing methods needed by the cli to execute the downgrade command. � downgrade�dgzDowngrade a packagec C s | j ddtd�tjd� d S )N�package�*zPackage to downgrade)�nargs�help�action)�add_argumentr r ZParseSpecGroupFileCallback)�parser� r �/usr/lib/python3.6/downgrade.py� set_argparser$ s zDowngradeCommand.set_argparserc C sH | j j}d|_d|_d|_d|_tj| j| j � | j j sDtj| j� d S )NT)Zcli�demandsZsack_activationZavailable_reposZ resolvingZ root_userr Z_checkGPGKey�base�opts� filenamesZ_checkEnabledRepo)�selfr r r r � configure) s zDowngradeCommand.configurec C sJ | j j| jjd| j jjd�}| j j| jjdd� | jjD � || j j j d�S )NF)�strict�progressc S s g | ]}d | �qS )�@r )�.0�xr r r � <listcomp>8 s z(DowngradeCommand.run.<locals>.<listcomp>)Zspecs� file_pkgsr )r Zadd_remote_rpmsr r �outputr Z downgradePkgsZ pkg_specsZ grp_specsZconfr )r r r r r �run4 s zDowngradeCommand.runN)r r )�__name__� __module__�__qualname__�__doc__�aliasesr Zsummary�staticmethodr r r"