← Back
Editing: downgrade.cpython-312.opt-1.pyc
� �(f � �j � d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ G d� dej � Z y) � )�absolute_import)�unicode_literals)�commands)�OptionParser)�_c �@ � e Zd ZdZdZ ed� Zed� � Zd� Z d� Z y)�DowngradeCommandzWA class containing methods needed by the cli to execute the downgrade command. )� downgrade�dgzDowngrade a packagec �\ � | j ddt d� t j �� y )N�package�*zPackage to downgrade)�nargs�help�action)�add_argumentr r �ParseSpecGroupFileCallback)�parsers �?/usr/lib/python3.12/site-packages/dnf/cli/commands/downgrade.py� set_argparserzDowngradeCommand.set_argparser$ s+ � ����I�S�q�9O�7P�#/�#J�#J� � L� c �( � | j j }d|_ d|_ d|_ d|_ t j | j | j � | j j s t j | j � y y )NT)�cli�demands�sack_activation�available_repos� resolving� root_userr �_checkGPGKey�base�opts� filenames�_checkEnabledRepo)�selfr s r � configurezDowngradeCommand.configure) sm � ��(�(�"�"��"&���"&��� ��� ������d�i�i����2��y�y�"�"��&�&�t�y�y�1� #r c � � | j j | j j d| j j j �� }| j j | j j | j j D �cg c] }d|z �� c}z || j j j �� S c c}w )NF)�strict�progress�@)�specs� file_pkgsr'