Hacked By AnonymousFox
3
�ft`� � @ 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�idZuseridZfingerprintZurlZ timestampr r �/usr/lib/python3.6/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 �payloadZstatus�msgr r r �endM s zDownloadProgress.endc C s d S )Nr )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 �doner 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 )Nr )r r r r r s s zDepsolve.startc C s d S )Nr )r Zpkg�moder r r � pkg_addedv s zDepsolve.pkg_addedc C s d S )Nr )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 �<module> s: $
Hacked By AnonymousFox1.0, Coded By AnonymousFox