MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyo
�
�[/\c@@sxddlmZddlmZddlmZddlmZddlZejd�Z	dej
fd��YZdS(	i(tabsolute_import(tunicode_literals(t_(tcommandsNudnftSwapCommandcB@sJeZdZdZed�Zed��Zd�Zd�Z	d�Z
RS(uNA class containing methods needed by the cli to execute the swap command.
    uswapu:run an interactive dnf mod for remove and install one speccC@sB|jddddtd��|jddddtd��dS(Nuremove_spectactionustorethelpuThe specs that will be removeduinstall_specu The specs that will be installed(tadd_argumentR(tparser((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyt
set_argparser#scC@sf|jj}t|_t|_t|_t|_tj|j	|j�tj
|j	|jjg�dS(N(
tclitdemandstTruetsack_activationtavailable_repost	resolvingt	root_userRt_checkGPGKeytbaset_checkEnabledRepotoptstinstall_spec(tselfR((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyt	configure)s				cC@s]|jjj|�}|dk	rY||j�}|jjj|||g�|j�ndS(N(R
tcli_commandstgettNonet	optparsertparse_command_argstrun(Rtcmd_strtspectcmd_clstcmd((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyt_perform2s
cC@s0|jd|jj�|jd|jj�dS(Nuremoveuinstall(R"Rtremove_specR(R((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyR9s(uswap(t__name__t
__module__t__doc__taliasesRtsummarytstaticmethodR	RR"R(((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyRs			(t
__future__RRtdnf.i18nRtdnf.cliRtloggingt	getLoggertloggertCommandR(((s9/usr/lib/python2.7/site-packages/dnf/cli/commands/swap.pyt<module>s