Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ©ft`{}ã@sdZddlmZddlmZddlmZddlmZddlZ ddl Z ddl Z ddl Z ddl Z ddlZe jdƒZedƒd Zed ƒd Zed ƒZd d„Zffdd„ZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZdS)z< Classes for subcommands of the yum command line interface. é)Úprint_function)Úunicode_literals)Ú OptionParser)Ú_NÚdnfz+To diagnose the problem, try running: '%s'.zrpm -Va --nofiles --nodigestzDYou probably have corrupted RPMDB, running '%s' might fix the issue.zrpm --rebuilddba You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have any GPG public keys installed. You need to download the keys for packages you wish to install and install them. You can do that by running the command: rpm --import public.gpg.key Alternatively you can specify the url to the key you would like to use for a repository in the 'gpgkey' option in a repository section and {prog} will install it for you. For more information contact your distribution or package provider.cCsp|jjs dS|jƒslxV|jjƒD]H}|js0|jr |j r tjdt j t j j d�ƒtjtdƒ|ƒt jj‚q WdS)zªVerify that there are gpg keys for the enabled repositories in the rpm database. :param base: a :class:`dnf.Base` object. :raises: :class:`cli.CliError` Nz %s )ÚprogzProblem repository: %s)ÚconfZgpgcheckZ_gpg_key_checkÚreposZ iter_enabledZ repo_gpgcheckZgpgkeyÚloggerZcriticalÚgpg_msgÚformatrÚutilÚMAIN_PROG_UPPERrÚcliÚCliError)ÚbaserÚrepo©rú/usr/lib/python3.6/__init__.pyÚ _checkGPGKey:srcCs||jjƒrdSxD|D]<}|jdƒr2tjj|ƒr2dStjjj|ƒd}|d krdSqWt dƒj d j |j j ƒƒ}tjj|ƒ‚dS) zÖVerify that there is at least one enabled repo. :param base: a :class:`dnf.Base` object. :param possible_local_files: the list of strings that could be a local rpms :raises: :class:`cli.CliError`: Nz.rpmrÚhttpÚftpÚfileÚhttpsz*There are no enabled repositories in "{}".z", ")rrrr)r Z _any_enabledÚendswithÚosÚpathÚexistsrZpycompZurlparserr ÚjoinrZreposdirrr)rZpossible_local_filesZlfileÚschemeÚmsgrrrÚ_checkEnabledRepoKs  r!c@s€eZdZdZgZdZdZdd„Zedd„ƒZ edd „ƒZ ed d „ƒZ d d „Z dd„Z dd„Zdd„Zdd„Zdd„Zdd„ZdS)ÚCommandz%Abstract base class for CLI commands.ÚNcCs ||_dS)N)r)ÚselfrrrrÚ__init__fszCommand.__init__cCs|jjS)N)rr)r$rrrrjsz Command.basecCs |jdS)Nr)Úaliases)r$rrrÚ_basecmdoszCommand._basecmdcCs |jjjS)N)rrÚoutput)r$rrrr(sszCommand.outputcCsdS)z4Define command specific options and arguments. #:apiNr)r$ÚparserrrrÚ set_argparserwszCommand.set_argparsercCsdS)z*Do any command-specific pre-configuration.Nr)r$rrrÚ pre_configure{szCommand.pre_configurecCsdS)z&Do any command-specific configuration.Nr)r$rrrÚ configure€szCommand.configurecCs&t|tjjƒrttfStd|ƒ‚dS)z.Get suggestions for resolving the given error.zerror not supported yet: %sN)Ú isinstancerÚ exceptionsZTransactionCheckErrorÚ _RPM_VERIFYÚ_RPM_REBUILDDBÚNotImplementedError)r$ÚerrorrrrÚget_error_output…szCommand.get_error_outputcCsdS)zExecute the command.Nr)r$rrrÚrun‹sz Command.runcCsdS)z$Finalize operation after resolvementNr)r$rrrÚ run_resolved�szCommand.run_resolvedcCsdS)z%Finalize operations post-transaction.Nr)r$rrrÚrun_transaction”szCommand.run_transaction)Ú__name__Ú __module__Ú __qualname__Ú__doc__r&ÚsummaryÚoptsr%Úpropertyrr'r(r*r+r,r3r4r5r6rrrrr"_s   r"c @sReZdZdZdZedƒZdZddddd d d d eh Ze d d„ƒZ dd„Z dd„Z dS)Ú InfoCommandzRA class containing methods needed by the cli to execute the info command. Úinfoz4display details about a package or group of packagesÚallÚ availableÚ installedÚextrasÚupdatesÚupgradesÚ autoremoveÚrecentÚ obsoletesc Csô|jƒ}|jdddddtdƒd�|jddddtd ƒd �|jd ddd td ƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddtdƒ|j|jtjtdƒd�dS) Nz--allÚ_packages_actionÚ store_constr@zshow all packages (default))ÚdestÚactionÚconstÚdefaultÚhelpz --availablerAzshow only available packages)rKrLrMrOz --installedrBzshow only installed packagesz--extrasrCzshow only extras packagesz --updatesrEzshow only upgrades packagesz --upgradesz --autoremoverFzshow only autoremove packagesz--recentrGz#show only recently changed packagesÚpackagesÚ*ÚPACKAGEzPackage name specification)ÚnargsÚmetavarÚchoicesrNrLrO)Úadd_mutually_exclusive_groupÚ add_argumentrÚ pkgnarrowsÚDEFAULT_PKGNARROWrÚPkgNarrowCallback)Úclsr)Únarrowsrrrr*£s:        zInfoCommand.set_argparsercCs||jj}d|_|jjr"|jj|j_|jjdkr4d|_|jjrd|jjr\|jjdd|jjƒnd|j_|jjdkrxd|j_dS)NTrBz --obsoletesz--rHrDrE) rÚdemandsÚsack_activationr<rIÚpackages_actionÚavailable_reposrHÚ_option_conflict)r$r]rrrr,Ãs   zInfoCommand.configurecCs&|jj|jƒ|jjd|jj|jjƒS)Nr?)rÚ _populate_update_security_filterr<rÚoutput_packagesr_rP)r$rrrr4ÒszInfoCommand.runN)r?) r7r8r9r:r&rr;rYrXÚ classmethodr*r,r4rrrrr>˜s   r>c@s$eZdZdZdZedƒZdd„ZdS) Ú ListCommandzRA class containing methods needed by the cli to execute the list command. ÚlistÚlsz$list a package or groups of packagescCs&|jj|jƒ|jjd|jj|jjƒS)Nrf)rrbr<rrcr_rP)r$rrrr4ßszListCommand.runN)rfrg)r7r8r9r:r&rr;r4rrrrre×srec@s8eZdZdZd ZedƒZedd„ƒZdd „Z d d „Z d S)ÚProvidesCommandzVA class containing methods needed by the cli to execute the provides command. ÚprovidesÚ whatprovidesÚprovz*find what package provides the given valuecCs|jddtdƒtdƒd�dS)NÚ dependencyú+ZPROVIDEz#Provide specification to search for)rSrTrO)rWr)r)rrrr*íszProvidesCommand.set_argparsercCs|jj}d|_d|_d|_dS)NTF)rr]r`Zfresh_metadatar^)r$r]rrrr,òszProvidesCommand.configurecCstjtdƒƒ|jj|jjƒS)NzSearching Packages: )r Údebugrrrir<rl)r$rrrr4øszProvidesCommand.runN)rirjrk) r7r8r9r:r&rr;Ú staticmethodr*r,r4rrrrrhås  rhc@s8eZdZdZd ZedƒZedd„ƒZdd„Z d d „Z d S) ÚCheckUpdateCommandzZA class containing methods needed by the cli to execute the check-update command. ú check-updateú check-upgradez$check for available package upgradescCs0|jddddtdƒd�|jddtd ƒd �dS) Nz --changelogsÚ changelogsFÚ store_truezshow changelogs before update)rKrNrLrOrPrQrR)rSrT)rWr)r)rrrr*s z CheckUpdateCommand.set_argparsercCs6|jj}d|_d|_d|_|jjr(d|_t|jƒdS)NT) rr]r^r`Zplugin_filtering_enabledr<rsr!r)r$r]rrrr, szCheckUpdateCommand.configurecCsR|jj|jdd�|jj|jjd|jjd�}|r:d|jj_|jj j rN|jj ƒdS)NZgte)Zcmp_typeT)Úprint_rséd) rrbr<rÚ check_updatesrPrsr]Úsuccess_exit_statusrZautocheck_running_kernelZ_check_running_kernel)r$Úfoundrrrr4s   zCheckUpdateCommand.runN)rqrr) r7r8r9r:r&rr;ror*r,r4rrrrrpüs   rpc seZdZdZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZ Gd d „d eƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZGdd„deƒZeeeee e e e e eeh Zd%ZedƒZ‡fdd„Zdd „Zd!d"„Zd#d$„Z‡ZS)&ÚRepoPkgsCommandz2Implementation of the repository-packages command.c@s$eZdZdZdZdd„Zdd„ZdS) z%RepoPkgsCommand.CheckUpdateSubCommandz'Implementation of the info sub-command.ú check-updatecCs|jj}d|_d|_dS)NT)rr]r`r^)r$r]rrrr,(sz/RepoPkgsCommand.CheckUpdateSubCommand.configurecCs*|jj|jj|jdd�}|r&d|jj_dS)z?Execute the command with respect to given arguments *cli_args*.T)rurvN)rrwr<Ú pkg_specsÚreponamerr]rx)r$ryrrrÚ run_on_repo-s  z1RepoPkgsCommand.CheckUpdateSubCommand.run_on_repoN)r{)r7r8r9r:r&r,r~rrrrÚCheckUpdateSubCommand#src@s$eZdZdZdZdd„Zdd„ZdS) zRepoPkgsCommand.InfoSubCommandz'Implementation of the info sub-command.r?cCsh|jj}d|_|jjr"|jj|j_|jjdkr4d|_|jjrd|jjr\|jjdd|jjƒnd|j_dS)NTrBz --obsoletesz--rH) rr]r^r<Ú_pkg_specs_actionÚpkg_specs_actionr`rHra)r$r]rrrr,9s  z(RepoPkgsCommand.InfoSubCommand.configurecCs.|jj|jƒ|jjd|jj|jj|jƒdS)z?Execute the command with respect to given arguments *cli_args*.r?N)rrbr<rrcr�r|r})r$rrrr~Fsz*RepoPkgsCommand.InfoSubCommand.run_on_repoN)r?)r7r8r9r:r&r,r~rrrrÚInfoSubCommand4s r‚c@s$eZdZdZdZdd„Zdd„ZdS) z!RepoPkgsCommand.InstallSubCommandz*Implementation of the install sub-command.ÚinstallcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r`r^Ú resolvingÚ root_user)r$r]rrrr,Qs z+RepoPkgsCommand.InstallSubCommand.configurecCsø|jj|jƒt|j|jƒd}|jjsjy|jjd|jƒWn&tj j k rbt j t dƒƒYqàXd}nvxt|jjD]h}y|jj||jƒWnJtj j k rÖ}z*dj|j|jjjj|ƒƒ}t j |ƒWYdd}~XqtXd}qtW|sôtj jt dƒƒ‚dS)NFrQzNo package available.Tz{}: {}zNo packages marked for install.)rrbr<rrr|rƒr}rr.Ú MarkingErrorr r?rr Úvaluer(ÚtermÚboldÚError)r$ÚdoneÚpkg_specÚer rrrr~Xs$z-RepoPkgsCommand.InstallSubCommand.run_on_repoN)rƒ)r7r8r9r:r&r,r~rrrrÚInstallSubCommandLsrŽc@seZdZdZdZdd„ZdS)zRepoPkgsCommand.ListSubCommandz'Implementation of the list sub-command.rfcCs.|jj|jƒ|jjd|jj|jj|jƒdS)z?Execute the command with respect to given arguments *cli_args*.rfN)rrbr<rrcr�r|r})r$rrrr~zsz*RepoPkgsCommand.ListSubCommand.run_on_repoN)rf)r7r8r9r:r&r~rrrrÚListSubCommandusr�c@s$eZdZdZdZdd„Zdd„ZdS) z RepoPkgsCommand.MoveToSubCommandz*Implementation of the move-to sub-command.úmove-tocCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r„r…)r$r]rrrr,…s z*RepoPkgsCommand.MoveToSubCommand.configurecCs t|j|jƒd}|jjs˜y|jjd|jd�Wn`tjj k rVt j t dƒƒYn@tjj k rzt j t dƒƒYntjjk r�YnXd}nîxì|jjD]à}y|jj||jd�WnÀtjj k rèt dƒ}t j ||ƒYq¢tjj k �rd}z\xT|jD]J}d}|jjj|ƒ}|�r.t d ƒ|}t d ƒ}t j ||jjj|ƒ|ƒ�qWWYd d }~Xq¢tjjk �r|Yq¢Xd}q¢W|�sœtjjt d ƒƒ‚d S) z?Execute the command with respect to given arguments *cli_args*.FrQ)Z new_reponamezNo package installed.zNo package available.TzNo match for argument: %sr#z (from %s)z%Installed package %s%s not available.NzNothing to do.)rrrr<r|Ú reinstallr}rr.ÚPackagesNotInstalledErrorr r?rÚPackagesNotAvailableErrorr†rPÚhistoryrr(rˆr‰rŠ)r$r‹rŒr ÚerrÚpkgÚxmsgÚpkgreporrrr~Œs>  .z,RepoPkgsCommand.MoveToSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrrÚMoveToSubCommand€sr™c@s$eZdZdZdZdd„Zdd„ZdS) z&RepoPkgsCommand.ReinstallOldSubCommandz0Implementation of the reinstall-old sub-command.ú reinstall-oldcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r„r…)r$r]rrrr,¼s z0RepoPkgsCommand.ReinstallOldSubCommand.configurecCs¨t|j|jƒd}|jjsžy|jjd|j|jƒWndtjj k r\t dƒ}t j |ƒYn@tjj k r€t j t dƒƒYntjjk r–YnXd}nðxî|jjD]â}y|jj||j|jƒWnÀtjj k rðt dƒ}t j ||ƒYq¨tjj k �rl}z\xT|jD]J}d}|jjj|ƒ}|�r6t dƒ|}t d ƒ}t j ||jjj|ƒ|ƒ�qWWYd d }~Xq¨tjjk �r„Yq¨Xd}q¨W|�s¤tjjt d ƒƒ‚d S) z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.zNo package available.TzNo match for argument: %sr#z (from %s)z%Installed package %s%s not available.NzNothing to do.)rrrr<r|r‘r}rr.r’rr r?r“r†rPr”rr(rˆr‰rŠ)r$r‹r rŒr•r–r—r˜rrrr~ÃsB    .z2RepoPkgsCommand.ReinstallOldSubCommand.run_on_repoN)rš)r7r8r9r:r&r,r~rrrrÚReinstallOldSubCommand·sr›cs4eZdZdZd Z‡fdd„Zdd„Zdd„Z‡ZS) z#RepoPkgsCommand.ReinstallSubCommandz,Implementation of the reinstall sub-command.r‘cs,ttj|ƒj|ƒtj|ƒtj|ƒf|_dS)zInitialize the command.N)ÚsuperrzÚReinstallSubCommandr%r›r™Úwrapped_commands)r$r)Ú __class__rrr%õsz,RepoPkgsCommand.ReinstallSubCommand.__init__cCs6d|jj_x&|jD]}|j|_|j|_|jƒqWdS)NT)rr]r`ržr<r}r,)r$Úcommandrrrr,ûs   z-RepoPkgsCommand.ReinstallSubCommand.configurec Cs\t|j|jƒxH|jD].}y |jƒWntjjk r@wYqXPqWtjjtdƒƒ‚dS)z?Execute the command with respect to given arguments *cli_args*.z!No packages marked for reinstall.N) rrrržr~rr.rŠr)r$r rrrr~s  z/RepoPkgsCommand.ReinstallSubCommand.run_on_repo)r‘) r7r8r9r:r&r%r,r~Ú __classcell__rr)rŸrr�ðs  r�c@s,eZdZdZd Zdd„Zdd„Zdd„Zd S) z,RepoPkgsCommand.RemoveOrDistroSyncSubCommandz8Implementation of the remove-or-distro-sync sub-command.úremove-or-distro-synccCs$|jj}d|_d|_d|_d|_dS)NT)rr]r`r^r„r…)r$r]rrrr,s z6RepoPkgsCommand.RemoveOrDistroSyncSubCommand.configurec s¾|jjjjˆƒtjj|ƒ}|j|jjjƒ}|jjj‰‡‡fdd„|j ƒDƒ}|s`tj j d|ƒ‚|j ƒ}|jjj j}xD|D]<}|j|j|jd�r¢|jjjj|ƒqz|jjjj||d�qzWdS)z;Synchronize a package with another repository or remove it.csg|]}ˆj|ƒˆkr|‘qSr)r)Ú.0r–)r”r}rrú #szIRepoPkgsCommand.RemoveOrDistroSyncSubCommand._replace..zno package matched)ÚnameÚarch)Ú clean_depsN)rrZsackZ disable_reporÚsubjectZSubjectZget_best_queryr”rBr.r’rArZclean_requirements_on_removeÚfilterr¥r¦Z_goalZ distupgradeZerase) r$rŒr}r¨ZmatchesrBrAr§Úpackager)r”r}rÚ_replaces    z5RepoPkgsCommand.RemoveOrDistroSyncSubCommand._replacec CsÌt|j|jƒd}|jjs^y|jd|jƒWn*tjj k rVt dƒ}t j |ƒYq´Xd}nVxT|jjD]H}y|j||jƒWn,tjj k rªt dƒ}t j ||ƒYqhXd}qhW|sÈtjj t dƒƒ‚dS)z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.TzNo match for argument: %szNothing to do.N)rrrr<r|r«r}rr.r’rr r?rŠ)r$r‹r rŒrrrr~0s$z8RepoPkgsCommand.RemoveOrDistroSyncSubCommand.run_on_repoN)r¢)r7r8r9r:r&r,r«r~rrrrÚRemoveOrDistroSyncSubCommands r¬c@s$eZdZdZdZdd„Zdd„ZdS) z+RepoPkgsCommand.RemoveOrReinstallSubCommandz6Implementation of the remove-or-reinstall sub-command.úremove-or-reinstallcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r„r…)r$r]rrrr,Rs z5RepoPkgsCommand.RemoveOrReinstallSubCommand.configurec Cst|j|jƒd}|jjs~y|jjd|j|jdd�Wn@tjj k r`t dƒ}t j |ƒYqôtjj k rvYqôXd}nvxt|jjD]h}y|jj||j|jdd�WnBtjj k rÔt dƒ}t j ||ƒYqˆtjj k rêYqˆXd}qˆW|�s tjjt dƒƒ‚dS) z?Execute the command with respect to given arguments *cli_args*.FrQT)Z old_reponameZnew_reponame_neqZ remove_naz)No package installed from the repository.zNo match for argument: %szNothing to do.N)rrrr<r|r‘r}rr.r’rr r?r†rŠ)r$r‹r rŒrrrr~Ys4  z7RepoPkgsCommand.RemoveOrReinstallSubCommand.run_on_repoN)r­)r7r8r9r:r&r,r~rrrrÚRemoveOrReinstallSubCommandMsr®c@s$eZdZdZdZdd„Zdd„ZdS) z RepoPkgsCommand.RemoveSubCommandz)Implementation of the remove sub-command.ÚremovecCs*|jj}d|_d|_d|_d|_d|_dS)NTF)rr]r^Z allow_erasingr`r„r…)r$r]rrrr,ƒs z*RepoPkgsCommand.RemoveSubCommand.configurecCsÈd}|jjsRy|jjd|jƒWn*tjjk rJtdƒ}t j |ƒYq²Xd}n`x^|jjD]R}y|jj||jƒWn4tjjk r¨}zt j t |ƒƒWYdd}~Xq\Xd}q\W|sÄt j tdƒƒdS)z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.TNzNo packages marked for removal.) r<r|rr¯r}rr.r†rr r?ÚstrZwarning)r$r‹r rŒr�rrrr~‹s  z,RepoPkgsCommand.RemoveSubCommand.run_on_repoN)r¯)r7r8r9r:r&r,r~rrrrÚRemoveSubCommand~sr±c@s$eZdZdZd Zdd„Zdd„ZdS) z!RepoPkgsCommand.UpgradeSubCommandz*Implementation of the upgrade sub-command.Úupgradeú upgrade-tocCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r„r…)r$r]rrrr,«s z+RepoPkgsCommand.UpgradeSubCommand.configurec Csšt|j|jƒd}|jjs.|jj|jƒd}nTxR|jjD]F}y|jj||jƒWn(tj j k rxt j t dƒ|ƒYq8Xd}q8W|s–tj jt dƒƒ‚dS)z?Execute the command with respect to given arguments *cli_args*.FTzNo match for argument: %szNo packages marked for upgrade.N)rrrr<r|Z upgrade_allr}r²rr.r†r r?rrŠ)r$r‹rŒrrrr~²sz-RepoPkgsCommand.UpgradeSubCommand.run_on_repoN)r²r³)r7r8r9r:r&r,r~rrrrÚUpgradeSubCommand¦sr´úrepository-packagesú repo-pkgsú repo-packagesúrepository-pkgsz7run commands on top of all packages in given repositorycs>tt|ƒjˆƒ‡fdd„|jDƒ}d|_dd„|Dƒ|_dS)zInitialize the command.c3s|]}|ˆƒVqdS)Nr)r£Úsubcmd)rrrú Ösz+RepoPkgsCommand.__init__..NcSsi|]}|jD] }||“qqSr)r&)r£r¹Úaliasrrrú Øsz,RepoPkgsCommand.__init__..)rœrzr%ÚSUBCMDSr¹Ú_subcmd_name2obj)r$rZ subcmd_objs)rŸ)rrr%Ós zRepoPkgsCommand.__init__c Cs`|jƒ}|jdddddtdƒd�|jddddtd ƒd �|jd ddd td ƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddddtdƒd �|jddtjtdƒtdƒd�d d!„|jDƒ}d"d!„|jDƒ}|jd#dd$|d%j|ƒd&�d}|d dddd'ddh}|jd(d)td*ƒ||tjtd+ƒd,�dS)-Nz--allr€rJr@zshow all packages (default))rKrLrMrNrOz --availablerAzshow only available packages)rKrLrMrOz --installedrBzshow only installed packagesz--extrasrCzshow only extras packagesz --updatesrEzshow only upgrades packagesz --upgradesz --autoremoverFzshow only autoremove packagesz--recentrGz#show only recently changed packagesr}éZREPOIDz Repository ID)rSrLrTrOcSsg|]}|jd‘qS)r)r&)r£r¹rrrr¤ùsz1RepoPkgsCommand.set_argparser..cSsg|]}|jD]}|‘qqSr)r&)r£r¹r»rrrr¤úsr¹Z SUBCOMMANDz, )rSrTrUrOrHr|rQrRzPackage specification)rSrTrUrNrLrO)rVrWrrZ_RepoCallbackEnabler½rrZ)r$r)r\Zsubcommand_choicesZsubcommand_choices_allrYrXrrrr*ÛsP         zRepoPkgsCommand.set_argparsercCs€y|j|jjd|_Wn>tjjtfk rV}z|jjjƒtjj‚WYdd}~XnX|j|j_|jj d|j_ |jj ƒdS)z8Verify whether the command can run with given arguments.rN) r¾r<r¹rrrÚKeyErrorÚ optparserZ print_usager}r,)r$r�rrrr,s  zRepoPkgsCommand.configurecCs|jjƒdS)z>Execute the command with respect to given arguments *extcmds*.N)r¹r~)r$rrrr4szRepoPkgsCommand.run)rµr¶r·r¸)r7r8r9r:r"rr‚rŽr�r™r›r�r¬r®r±r´r½r&rr;r%r*r,r4r¡rr)rŸrrz s0) 79>1(# + rzc@s0eZdZdZd ZedƒZedd„ƒZdd„Z dS) Ú HelpCommandzRA class containing methods needed by the cli to execute the help command. rOzdisplay a helpful usage messagecCs*|jddtdƒtdƒjtjjd�d�dS)NÚcmdú?ZCOMMANDz{prog} command to get help for)r)rSrTrO)rWrr rr r)r)rrrr*szHelpCommand.set_argparsercCsN|jj s|jj|jjkr(|jjjƒn"|jj|jj}|jjj||ƒƒdS)N)r<rÃrZ cli_commandsrÁZ print_help)r$r rrrr4$s  zHelpCommand.runN)rO) r7r8r9r:r&rr;ror*r4rrrrrÂs  rÂ)r:Z __future__rrZdnf.cli.option_parserrZdnf.i18nrZdnf.clirZdnf.exceptionsZ dnf.pycompZdnf.utilZloggingrZ getLoggerr r/r0r rr!Úobjectr"r>rerhrprzrÂrrrrÚs:       9?$y