Your IP : 18.217.10.152


Current Path : /usr/lib/python3.6/site-packages/dnf/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/dnf/__pycache__/callback.cpython-36.pyc

3

�ft`��@s
ddlmZddlZddlZejjZejjZejjZejj	Z	ejj
Z
ejjZejjZejj
ZeZ
ejjZejjZejjZejjZejjZejjZejjZdZdZdZdZdZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�Z ej!j"j#Z$dS)�)�unicode_literalsN����c@seZdZdd�ZdS)�	KeyImportcCsdS)z+Ask the user if the key should be imported.F�)�self�idZuseridZfingerprintZurlZ	timestamprr�/usr/lib/python3.6/callback.py�_confirm5szKeyImport._confirmN)�__name__�
__module__�__qualname__rrrrrr4src@s(eZdZdd�Zdd�Zedd��ZdS)�PayloadcCs
||_dS)N)�progress)r	rrrr�__init__=szPayload.__init__cCsdS)z)Nice, human-readable representation. :apiNr)r	rrr�__str__@szPayload.__str__cCsdS)z Total size of the download. :apiNr)r	rrr�
download_sizeDszPayload.download_sizeN)r
rrrr�propertyrrrrrr:src@s.eZdZdd�Zdd�Zdd�Zddd	�Zd
S)�DownloadProgresscCsdS)z�Communicate the information that `payload` has finished downloading.

        :api, `status` is a constant denoting the type of outcome, `err_msg` is an
        error message in case the outcome was an error.

        Nr)r	�payloadZstatus�msgrrr�endMszDownloadProgress.endcCsdS)Nr)r	rrrr�messageVszDownloadProgress.messagecCsdS)z�Update the progress display. :api

        `payload` is the payload this call reports progress for, `done` is how
        many bytes of this payload are already downloaded.

        Nr)r	r�donerrrrYszDownloadProgress.progressrcCsdS)z�Start new progress metering. :api

        `total_files` the number of files that will be downloaded,
        `total_size` total size of all files.

        Nr)r	Ztotal_filesZ
total_sizeZtotal_drpmsrrr�startcszDownloadProgress.startN)r)r
rrrrrrrrrrrJs	
rc@seZdZdS)�NullDownloadProgressN)r
rrrrrrrnsrc@s$eZdZdd�Zdd�Zdd�ZdS)�DepsolvecCsdS)Nr)r	rrrrsszDepsolve.startcCsdS)Nr)r	Zpkg�moderrr�	pkg_addedvszDepsolve.pkg_addedcCsdS)Nr)r	rrrryszDepsolve.endN)r
rrrr rrrrrrrsr)%Z
__future__rZdnf.yum.rpmtransZdnfZdnf.transactionZtransactionZ
PKG_DOWNGRADEZPKG_DOWNGRADEDZPKG_INSTALLZPKG_OBSOLETEZ
PKG_OBSOLETEDZ
PKG_REINSTALLZPKG_REINSTALLEDZ	PKG_ERASEZ
PKG_REMOVEZPKG_UPGRADEZPKG_UPGRADEDZPKG_CLEANUPZ
PKG_VERIFYZ
PKG_SCRIPTLETZTRANS_PREPARATIONZ
TRANS_POSTZ	STATUS_OKZ
STATUS_FAILEDZSTATUS_ALREADY_EXISTSZ
STATUS_MIRRORZSTATUS_DRPM�objectrrrrrZyumZrpmtransZTransactionDisplayZTransactionProgressrrrr�<module>s:$

?>