/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__
Edit: /usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/check.cpython-36.pyc (3723B)
3
ft`? @ sV d dl mZ d dl mZ d dlmZ d dlmZ d dlZd dlZ G dd dej
ZdS ) )absolute_import)unicode_literals)_)commandsNc @ s8 e Zd ZdZdZedZedd Zdd Z dd Z
d
S )CheckCommandzSA class containing methods needed by the cli to execute the check
command.
checkz#check for problems in the packagedbc C s | j ddddtdd | j ddddtd d | j d
dddtdd | j d
dddtdd | j ddddtdd | j dddddddg gtjd d S )Nz--allcheck_typesZappend_constallzshow all problems; default)destactionconsthelpz--dependenciesdependencieszshow dependency problemsz--duplicates
duplicateszshow duplicate problemsz--obsoleted obsoletedzshow obsoleted packagesz
--providesprovideszshow problems with providescheck_yum_types*)nargschoicesr
)add_argumentr argparseZSUPPRESS)parser r /usr/lib/python3.6/check.py
set_argparser$ s$ zCheckCommand.set_argparserc C sx d| j j_| jjr<| jjr0| jj| jj | j_n| jj| j_| jjsPdh| j_nt| jj| j_| jj j dg7 _ d S )NTr )
ZcliZdemandsZsack_activationoptsr r setbaseconfZdisable_excludes)selfr r r configure; s
zCheckCommand.configurec C s t }| jjj j }| jjjddhrd }x||D ]r}xt |jt t |j t |j
B D ]}t|jdrtq`t
|j|gds`t|jdr|d krtjj| j}tjj|}|j t|d tjj|}| jjj|_|j|dd |j }|rq`td} |j| j| jjjj|| jjjj| q`W xx|jD ]n}
|j|
gt|
j d d
}xJ|D ]B}d} |j| j| jjjj|| jjjj|
| jjjj| q^W q8W q6W | jjjddhrN| jj!|}
|j" j#|
j$ }xl|j% D ]`\}}|j&