Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
gt` @ sV d dl mZ d dl mZ d dlmZ d dlZG dd dejZG dd dej j
ZdS ) )absolute_import)unicode_literals)_Nc s e Zd ZdZ fddZ ZS )RepoClosurerepoclosurec s, t t| j|| |d krd S |jt d S )N)superr __init__Zregister_commandRepoClosureCommand)selfbasecli) __class__ !/usr/lib/python3.6/repoclosure.pyr ! s zRepoClosure.__init__)__name__
__module____qualname__namer
__classcell__r r )r
r r s r c @ s> e Zd ZdZedZdd Zdd Zd
dd Ze d
d Z
dS )r r z:Display a list of unresolved dependencies for repositoriesc C sd | j j}d|_d|_| jjr`xB| jjj D ]2}|j | jjkrT|j | jj
krT|j q*|j q*W d S )NT)
r demandsZsack_activationZavailable_reposoptsrepor reposallidcheckdisableenable)r
r r r r r configure, s
zRepoClosureCommand.configurec C s | j jr| j| j j}n| j }xRt|j D ]B}tdjt||j td x|| D ]}tdj| qZW q.W t |dkrt
d}tjj
|d S )Nzpackage: {} from {}z unresolved deps:z {}r z/Repoclosure ended with unresolved dependencies.)r arches_get_unresolvedsortedkeysprintformatstrreponamelenr dnf
exceptionsError)r
unresolvedpkgZdepmsgr r r run7 s zRepoClosureCommand.runNc sL i }t }| jjr| jjj jdd | jjj jdd}xv| jjj D ]D} j | jjj j|j
dj |j | jjj j|j
dj }qHW n | jjj j | jjj j }| jj
rN| jjj jdd}g }xT| jj
D ]H}tjj|} |j| j| jjdddd}
|
r|j |
}q|j| qW |rJtjjtddj| |}| jjrh|j| jjd |d k r~|j|d | jjjr jdd j |j xf|D ]^}t ||<