Your IP : 3.128.168.219


Current Path : /usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/autoremove.cpython-36.opt-1.pyc

3

�ft`��@stddlmZddlmZddlmZddlmZddlmZddl	Z
ddlZddlZej
d�ZGdd	�d	ej�ZdS)
�)�absolute_import)�unicode_literals)�commands)�OptionParser)�_N�dnfc@sReZdZejejejd�Zdeej	��Z
ed�Ze
dd��Zdd�Zdd	�Zd
S)�AutoremoveCommand)zautoremove-nz
autoremove-nazautoremove-nevra�
autoremovezKremove all unneeded packages that were originally installed as dependenciescCs"|jddtd�tjtd�d�dS)NZpackages�*zPackage to removeZPACKAGE)�nargs�help�action�metavar)�add_argumentrrZParseSpecGroupFileCallback)�parser�r� /usr/lib/python3.6/autoremove.py�
set_argparser,szAutoremoveCommand.set_argparsercCs\|jj}d|_d|_d|_t|jj|jj|jj	g�rLd|j
j_d|_
d|_nd|_d|_dS)NTF)Zcli�demandsZ	resolvingZ	root_userZsack_activation�any�opts�	grp_specs�	pkg_specs�	filenames�baseZconfZclean_requirements_on_removeZ
allow_erasingZavailable_reposZfresh_metadata)�selfrrrr�	configure2s
zAutoremoveCommand.configurecCsjt|jj|jj|jjg�r\g}|jj|jkr<|j|jjg}|jj||jj|jj|jj�n
|jj�dS)N)	rrrrrZcommand�nevra_formsrr	)rZformsrrr�runBszAutoremoveCommand.runN)r	)�__name__�
__module__�__qualname__�hawkeyZ	FORM_NAMEZFORM_NAZ
FORM_NEVRAr�tuple�keys�aliasesrZsummary�staticmethodrrrrrrrr"s
r)Z
__future__rrZdnf.clirZdnf.cli.option_parserrZdnf.i18nrZdnf.exceptionsrr"ZloggingZ	getLoggerZloggerZCommandrrrrr�<module>s


?>