/usr/lib/python3.9/site-packages/dnf/cli/commands/__pycache__
NameSizeModeActions
alias.cpython-39.opt-1.pyc54060644editdlrm
alias.cpython-39.pyc54060644editdlrm
autoremove.cpython-39.opt-1.pyc19720644editdlrm
autoremove.cpython-39.pyc19720644editdlrm
check.cpython-39.opt-1.pyc37610644editdlrm
check.cpython-39.pyc37610644editdlrm
clean.cpython-39.opt-1.pyc42890644editdlrm
clean.cpython-39.pyc42890644editdlrm
deplist.cpython-39.opt-1.pyc9310644editdlrm
deplist.cpython-39.pyc9310644editdlrm
distrosync.cpython-39.opt-1.pyc14770644editdlrm
distrosync.cpython-39.pyc14770644editdlrm
downgrade.cpython-39.opt-1.pyc18580644editdlrm
downgrade.cpython-39.pyc18580644editdlrm
group.cpython-39.opt-1.pyc103010644editdlrm
group.cpython-39.pyc103770644editdlrm
history.cpython-39.opt-1.pyc114690644editdlrm
history.cpython-39.pyc114690644editdlrm
install.cpython-39.opt-1.pyc61490644editdlrm
install.cpython-39.pyc61490644editdlrm
makecache.cpython-39.opt-1.pyc13080644editdlrm
makecache.cpython-39.pyc13080644editdlrm
mark.cpython-39.opt-1.pyc29600644editdlrm
mark.cpython-39.pyc29600644editdlrm
module.cpython-39.opt-1.pyc144670644editdlrm
module.cpython-39.pyc144670644editdlrm
reinstall.cpython-39.opt-1.pyc30100644editdlrm
reinstall.cpython-39.pyc30690644editdlrm
remove.cpython-39.opt-1.pyc39510644editdlrm
remove.cpython-39.pyc39510644editdlrm
repolist.cpython-39.opt-1.pyc75030644editdlrm
repolist.cpython-39.pyc75030644editdlrm
repoquery.cpython-39.opt-1.pyc223730644editdlrm
repoquery.cpython-39.pyc223730644editdlrm
search.cpython-39.opt-1.pyc44570644editdlrm
search.cpython-39.pyc44570644editdlrm
shell.cpython-39.opt-1.pyc79360644editdlrm
shell.cpython-39.pyc79360644editdlrm
swap.cpython-39.opt-1.pyc19470644editdlrm
swap.cpython-39.pyc19470644editdlrm
updateinfo.cpython-39.opt-1.pyc140140644editdlrm
updateinfo.cpython-39.pyc140140644editdlrm
upgrade.cpython-39.opt-1.pyc37080644editdlrm
upgrade.cpython-39.pyc37080644editdlrm
upgrademinimal.cpython-39.opt-1.pyc11370644editdlrm
upgrademinimal.cpython-39.pyc11370644editdlrm
__init__.cpython-39.opt-1.pyc247470644editdlrm
__init__.cpython-39.pyc249280644editdlrm
Edit: /usr/lib/python3.9/site-packages/dnf/cli/commands/__pycache__/swap.cpython-39.pyc (1947B)
a ©!cA ã@s`ddlmZddlmZddlmZddlmZddlZddl Z e   d¡Z Gdd„dej ƒZ dS) é)Úabsolute_import)Úunicode_literals)Ú_)ÚcommandsNÚdnfc@sLeZdZdZdZedƒjejj d�Z e dd„ƒZ dd„Z d d „Zd d „Zd S)Ú SwapCommandzNA class containing methods needed by the cli to execute the swap command. )Zswapz=run an interactive {prog} mod for remove and install one spec)ÚprogcCs,|jddtdƒd�|jddtdƒd�dS)NÚ remove_specÚstorezThe specs that will be removed)ÚactionÚhelpÚ install_specz The specs that will be installed)Ú add_argumentr)Úparser©rú9/usr/lib/python3.9/site-packages/dnf/cli/commands/swap.pyÚ set_argparser&s ÿzSwapCommand.set_argparsercCsH|jj}d|_d|_d|_d|_t |j|j¡t  |j|j j g¡dS)NT) ÚcliÚdemandsZsack_activationZavailable_reposZ resolvingZ root_userrZ _checkGPGKeyÚbaseZ_checkEnabledRepoÚoptsr )ÚselfrrrrÚ configure,szSwapCommand.configurecCs@|jj |¡}|dur<||jƒ}|jj |||g¡| ¡dS)N)rZ cli_commandsÚgetZ optparserZparse_command_argsÚrun)rZcmd_strÚspecZcmd_clsÚcmdrrrÚ_perform5s  zSwapCommand._performcCs$| d|jj¡| d|jj¡dS)NÚinstallÚremove)rrr r )rrrrr<szSwapCommand.runN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚaliasesrÚformatrÚutilZMAIN_PROG_UPPERZsummaryÚ staticmethodrrrrrrrrrsÿ  r)Z __future__rrZdnf.i18nrZdnf.clirZdnf.utilrZloggingZ getLoggerÚloggerZCommandrrrrrÚs