a
©!cŸ ã @ s: d dl mZ d dlmZ d dlmZ G dd„ dejƒZdS )é )Úabsolute_import)Úcommands)Ú_c @ s8 e Zd ZdZdZedƒZedd„ ƒZdd„ Z dd „ Z
d
S )ÚDistroSyncCommandzZA class containing methods needed by the cli to execute the
distro-synch command.
)zdistro-syncZ
distrosynczdistribution-synchronizationZdsyncz?synchronize installed packages to the latest available versionsc C s | j ddtdƒd� d S )NÚpackageÚ*zPackage to synchronize)ÚnargsÚhelp)Úadd_argumentr )Úparser© r ú?/usr/lib/python3.9/site-packages/dnf/cli/commands/distrosync.pyÚ
set_argparser" s zDistroSyncCommand.set_argparserc C sF | j j}d|_d|_d|_d|_t | j| j ¡ t | j| j
j¡ d S )NT)ZcliÚdemandsZsack_activationZavailable_reposZ resolvingZ root_userr Z_checkGPGKeyÚbaseZ_checkEnabledRepoÚoptsr )Úselfr r r r
Ú configure&