????

Your IP : 216.73.216.152


Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/
Upload File :
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/dnf.pyc

�
Dr^c@s3ddlmZmZdeefd��YZdS(i����(tPlugintRedHatPlugint	DNFPlugincBs\eZdZdZdZdZdZdddefd	d
defgZd�Z	d
�Z
RS(sdnf package managertdnftsystemtpackagemanagertsysmgmts/etc/dnf/dnf.confthistoryscaptures transaction historytfastshistory-infosdetailed transaction historytslowcCs�|r�yt|�j�}Wntk
r=|jd�dSXxV|j�D]E}d|krK|j�d}|dkr�|jd|�q�qKqKWndS(Nscould not read module list files[i]isHint:sdnf module info (topentreadtIOErrort	_log_warnt
splitlinestsplittadd_cmd_output(tselftmodule_filet
module_outtlinetmodule((s3/usr/lib/python2.7/site-packages/sos/plugins/dnf.pytget_modules_infos

cCsm|jdddg�|jd�r5|jd�n'|jd�|jd�|jd�|jd	d
ddd
g�|jd�r�|jd�n|jd�rM|jd�}d}|drxS|dj�D]>}y$t|jd�dj��}PWq�tk
rq�Xq�Wnx/t	d|d�D]}|jd|�q/Wn|j
d�}|j|�dS(Ns/etc/dnf/dnf.confs/etc/dnf/plugins/*s/etc/dnf/protected.d/*tall_logss/var/log/dnf.*s/var/log/dnf.logs/var/log/dnf.librepo.logs/var/log/dnf.rpm.logs
dnf --versionsdnf list installed *dnf*sdnf list extrasspackage-cleanup --dupesspackage-cleanup --problemsRsdnf historyshistory-infoi����toutputt|iisdnf history info %dsdnf module list --installed(t
add_copy_spect
get_optionRt
call_ext_progRtintRtstript
ValueErrortrangetget_cmd_output_nowR(RRttransactionsRttr_idR((s3/usr/lib/python2.7/site-packages/sos/plugins/dnf.pytsetup*s>






(ssystemRR(s/etc/dnf/dnf.conf(R(t__name__t
__module__t__doc__tplugin_nametprofilestfilestpackagestFalsetoption_listRR$(((s3/usr/lib/python2.7/site-packages/sos/plugins/dnf.pyRs	N(tsos.pluginsRRR(((s3/usr/lib/python2.7/site-packages/sos/plugins/dnf.pyt<module>s