관리-도구
편집 파일: distrosync.cpython-39.pyc
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&���s����zDistroSyncCommand.configurec�����������������C���s���|�j��|�jj�S�)N)r���Zdistro_sync_userlistr���r���)r���r���r���r ����run/���s����zDistroSyncCommand.runN)�__name__� __module__�__qualname__�__doc__�aliasesr���Zsummary�staticmethodr���r���r���r���r���r���r ���r������s��� r���N)Z __future__r���Zdnf.clir���Zdnf.i18nr���ZCommandr���r���r���r���r ����<module>���s���