/usr/lib/python3.9/site-packages/dnf/__pycache__
Edit: /usr/lib/python3.9/site-packages/dnf/__pycache__/callback.cpython-39.pyc (3733B)
a
©!cŒ ã @ s
d dl mZ d dlZd dlZejjZejjZejjZejj Z ejj
Z
ejjZejjZejj
ZeZ
ejjZejjZejjZejjZejjZejjZejjZdZdZdZdZdZG dd„ deƒZG d d
„ d
eƒZG dd„ deƒZG d
d„ deƒZG dd„ deƒZ ej!j"j#Z$dS )é )Úunicode_literalsNé é é é c @ s e Zd Zdd„ ZdS )Ú KeyImportc C s dS )z+Ask the user if the key should be imported.F© )ÚselfÚidZuseridZfingerprintÚurlZ timestampr r ú0/usr/lib/python3.9/site-packages/dnf/callback.pyÚ_confirm5 s zKeyImport._confirmN)Ú__name__Ú
__module__Ú__qualname__r
r r r r r 4 s r c @ s( e Zd Zdd„ Zdd„ Zedd„ ƒZdS )ÚPayloadc C s
|| _ d S ©N)Úprogress)r r r r r Ú__init__= s zPayload.__init__c C s dS )z)Nice, human-readable representation. :apiNr ©r r r r Ú__str__@ s zPayload.__str__c C s dS )z Total size of the download. :apiNr r r r r Ú
download_sizeD s zPayload.download_sizeN)r r r r r Úpropertyr r r r r r : s r c @ s. e Zd Zdd„ Zdd„ Zdd„ Zddd „Zd
S )ÚDownloadProgressc C s dS )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 ÚpayloadÚstatusÚmsgr r r ÚendM s zDownloadProgress.endc C s d S r r )r r r r r ÚmessageV s zDownloadProgress.messagec C s dS )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 Zdoner r r r Y s zDownloadProgress.progressr c C s dS )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_drpmsr r r Ústartc s zDownloadProgress.startN)r )r r r r r r r r r r r r J s
r c @ s e Zd ZdS )ÚNullDownloadProgressN)r r r r r r r r n s r c @ s$ e Zd Zdd„ Zdd„ Zdd„ ZdS )ÚDepsolvec C s d S r r r r r r r s s zDepsolve.startc C s d S r r )r ÚpkgÚmoder r r Ú pkg_addedv s zDepsolve.pkg_addedc C s d S r r r r r r r y s zDepsolve.endN)r r r r r$ r r r r r r! r s r! )%Z
__future__r Zdnf.yum.rpmtransZdnfZdnf.transactionZtransactionZ
PKG_DOWNGRADEZPKG_DOWNGRADEDZPKG_INSTALLZPKG_OBSOLETEZ
PKG_OBSOLETEDZ
PKG_REINSTALLZPKG_REINSTALLEDZ PKG_ERASEZ
PKG_REMOVEZPKG_UPGRADEZPKG_UPGRADEDZPKG_CLEANUPZ
PKG_VERIFYZ
PKG_SCRIPTLETZTRANS_PREPARATIONZ
TRANS_POSTZ STATUS_OKZ
STATUS_FAILEDZSTATUS_ALREADY_EXISTSZ
STATUS_MIRRORZSTATUS_DRPMÚobjectr r r r r! ZyumZrpmtransZTransactionDisplayZTransactionProgressr r r r Ú
s: $