VULN_CHECK_I913V6 (fA ddlmZddlmZddlmZddlmZddlZddl Z e jdZ GddejZ y) )absolute_import)unicode_literals)_)commandsNdnfceZdZdZdZedj ejjZ e dZ dZ dZdZy ) SwapCommandzNA class containing methods needed by the cli to execute the swap command. )swapz=run an interactive {prog} mod for remove and install one spec)progcx|jddtd|jddtdy)N remove_specstorezThe specs that will be removed)actionhelp install_specz The specs that will be installed) add_argumentr)parsers :/usr/lib/python3.12/site-packages/dnf/cli/commands/swap.py set_argparserzSwapCommand.set_argparser&s=M'Bb@cdN7 .B0 1c&|jj}d|_d|_d|_d|_t j|j|jt j|j|jjgy)NT) clidemandssack_activationavailable_repos resolving root_userr _checkGPGKeybase_checkEnabledRepooptsr)selfrs r configurezSwapCommand.configure,sj(("""&"&  dii2""499tyy/E/E.FGrc|jjj|}|K||j}|jjj |||g|j yy)N)r cli_commandsget optparserparse_command_argsrun)r"cmd_strspeccmd_clscmds r_performzSwapCommand._perform5s\((''++G4  $((#C HH   1 1# G GGI rc|jd|jj|jd|jjy)Ninstallremove)r.r!rr )r"s rr)zSwapCommand.run<s4 i!7!78 h 5 56rN)__name__ __module__ __qualname____doc__aliasesrformatrutilMAIN_PROG_UPPERsummary staticmethodrr#r.r)rrr r s[GOPWW XX % %X'G11 H7rr ) __future__rrdnf.i18nrdnf.clirdnf.utilrlogging getLoggerloggerCommandr r<rrrEs=&''   5 !#7(""#7r