ok

Mini Shell

Direktori : /lib/python3.6/site-packages/dnf/cli/commands/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/dnf/cli/commands/__pycache__/downgrade.cpython-36.pyc

3

�ft`	�@sRddlmZddlmZddlmZddlmZddlmZGdd�dej	�Z
dS)	�)�absolute_import)�unicode_literals)�commands)�OptionParser)�_c@s8eZdZdZdZed�Zedd��Zdd�Z	d	d
�Z
dS)
�DowngradeCommandzWA class containing methods needed by the cli to execute the
    downgrade command.
    �	downgrade�dgzDowngrade a packagecCs|jddtd�tjd�dS)N�package�*zPackage to downgrade)�nargs�help�action)�add_argumentrrZParseSpecGroupFileCallback)�parser�r�/usr/lib/python3.6/downgrade.py�
set_argparser$szDowngradeCommand.set_argparsercCsH|jj}d|_d|_d|_d|_tj|j|j�|j	j
sDtj|j�dS)NT)Zcli�demandsZsack_activationZavailable_reposZ	resolvingZ	root_userrZ_checkGPGKey�base�opts�	filenamesZ_checkEnabledRepo)�selfrrrr�	configure)szDowngradeCommand.configurecCsJ|jj|jjd|jjjd�}|jj|jjdd�|jjD�||jj	j
d�S)NF)�strict�progresscSsg|]}d|�qS)�@r)�.0�xrrr�
<listcomp>8sz(DowngradeCommand.run.<locals>.<listcomp>)Zspecs�	file_pkgsr)rZadd_remote_rpmsrr�outputrZ
downgradePkgsZ	pkg_specsZ	grp_specsZconfr)rr rrr�run4szDowngradeCommand.runN)rr	)�__name__�
__module__�__qualname__�__doc__�aliasesrZsummary�staticmethodrrr"rrrrrsrN)Z
__future__rrZdnf.clirZdnf.cli.option_parserrZdnf.i18nrZCommandrrrrr�<module>s


Zerion Mini Shell 1.0