HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/dnf/cli/commands/__pycache__/distrosync.cpython-36.opt-1.pyc
3

�ft`��@s:ddlmZddlmZddlmZGdd�dej�ZdS)�)�absolute_import)�commands)�_c@s8eZdZdZdZed�Zedd��Zd	d
�Z	dd�Z
d
S)�DistroSyncCommandzZA class containing methods needed by the cli to execute the
    distro-synch command.
    �distro-sync�
distrosync�distribution-synchronization�dsyncz?synchronize installed packages to the latest available versionscCs|jddtd�d�dS)N�package�*zPackage to synchronize)�nargs�help)�add_argumentr)�parser�r� /usr/lib/python3.6/distrosync.py�
set_argparser"szDistroSyncCommand.set_argparsercCsF|jj}d|_d|_d|_d|_tj|j|j�tj	|j|j
j�dS)NT)Zcli�demandsZsack_activationZavailable_reposZ	resolvingZ	root_userrZ_checkGPGKey�baseZ_checkEnabledRepo�optsr
)�selfrrrr�	configure&szDistroSyncCommand.configurecCs|jj|jj�S)N)rZdistro_sync_userlistrr
)rrrr�run/szDistroSyncCommand.runN)rrrr	)�__name__�
__module__�__qualname__�__doc__�aliasesrZsummary�staticmethodrrrrrrrrs	rN)Z
__future__rZdnf.clirZdnf.i18nrZCommandrrrrr�<module>s