Your IP : 13.58.53.112


Current Path : /usr/lib64/python3.6/site-packages/libdnf/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/site-packages/libdnf/__pycache__/repo.cpython-36.opt-1.pyc

3

Yt�f�X�$@s�ddlmZed9kr&dd�Ze�Z[n"ed:kr@dd�Ze�Z[nddlZ[yeZWnek
rfYnXyddlZ	Wne
k
r�ddl	Z	YnXd;d
d�Zdd
�Zdd�Z
dd�ZyeZd	ZWn(e	jk
r�Gdd�d�ZdZYnXyddlZejZWn e	jk
�rdd�ZYnXGdd�de�ZejZee�ddlZddlZGdd�de�ZejZee�Gdd�de�ZejZee�Gdd�de�Zej Z e e�Gdd�de�Z!ej"Z"e"e!�d d!�Z#ej#Z#Gd"d#�d#e�Z$ej%Z%e%e$�d$d%�Z&ej&Z&Gd&d'�d'e�Z'ej(Z(e(e'�Gd(d)�d)e�Z)ej*Z*e*e)�d*d+�Z+ej+Z+d,d-�Z,ej,Z,Gd.d/�d/e�Z-ej.Z.e.e-�d<d1d2�Z/ej/Z/d3d4�Z0ej0Z0d5d6�Z1ej1Z1Gd7d8�d8e�Z2ej3Z3e3e2�dS)=�)�version_info��cCsTddl}tjd�d}dj|df�jd�}y
|j|�Stk
rN|jd�SXdS)Nr�.�_repo)�	importlib�__name__�
rpartition�join�lstrip�
import_module�ImportError)rZpkgZmname�r�/usr/lib64/python3.6/repo.py�swig_import_helper	s
r�cCs~ddlm}ddl}d}y|jd|t�g�\}}}Wntk
rPddl}|SXz|jd|||�}Wd|dk	rx|j�X|S)Nr)�dirnamer)	Zos.pathr�imp�find_module�__file__r
r�load_module�close)rr�fp�pathname�descriptionrZ_modrrrrs
N�cCs�|dkr|jj|�S|dkr8t|�jdkr8||j|<dS|jj|d�}|rT|||�S|sxtrltj	|||�q�||j|<nt
d|��dS)N�thisown�thisZSwigPyObjectzYou cannot add attributes to %s)r�own�typer�__dict__�__swig_setmethods__�get�	_newclass�object�__setattr__�AttributeError)�self�
class_type�name�valueZstatic�methodrrr�_swig_setattr_nondynamic3s

r,cCst||||d�S)Nr)r,)r'r(r)r*rrr�
_swig_setattrFsr-cCsB|dkr|jj�S|jj|d�}|r,||�Std|j|f��dS)Nrz!'%s' object has no attribute '%s')rr�__swig_getmethods__r"r&r)r'r(r)r+rrr�
_swig_getattrJs
r/cCsDyd|jj�}Wntjk
r,d}YnXd|jj|jj|fS)Nz	proxy of �z<%s.%s; %s >)r�__repr__�__builtin__�	Exception�	__class__�
__module__r)r'Zstrthisrrr�
_swig_reprSs

r6c@seZdZdS)�_objectN)rr5�__qualname__rrrrr7^sr7cCs|S)Nr)�xrrr�<lambda>fsr:c@s�eZdZiZdd�ZiZdd�Zdd�ZeZ	e
jZdd�Z
dd�Zd+d
d�Zd,dd
�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*S)-�SwigPyIteratorcCst|t||�S)N)r-r;)r'r)r*rrrr:kszSwigPyIterator.<lambda>cCst|t|�S)N)r/r;)r'r)rrrr:mscOstd��dS)Nz*No constructor defined - class is abstract)r&)r'�args�kwargsrrr�__init__oszSwigPyIterator.__init__cCsdS)Nr)r'rrrr:sscCs
tj|�S)N)rZSwigPyIterator_value)r'rrrr*uszSwigPyIterator.valuercCstj||�S)N)rZSwigPyIterator_incr)r'�nrrr�incrxszSwigPyIterator.incrcCstj||�S)N)rZSwigPyIterator_decr)r'r?rrr�decr{szSwigPyIterator.decrcCstj||�S)N)rZSwigPyIterator_distance)r'r9rrr�distance~szSwigPyIterator.distancecCstj||�S)N)rZSwigPyIterator_equal)r'r9rrr�equal�szSwigPyIterator.equalcCs
tj|�S)N)rZSwigPyIterator_copy)r'rrr�copy�szSwigPyIterator.copycCs
tj|�S)N)rZSwigPyIterator_next)r'rrr�next�szSwigPyIterator.nextcCs
tj|�S)N)rZSwigPyIterator___next__)r'rrr�__next__�szSwigPyIterator.__next__cCs
tj|�S)N)rZSwigPyIterator_previous)r'rrr�previous�szSwigPyIterator.previouscCstj||�S)N)rZSwigPyIterator_advance)r'r?rrr�advance�szSwigPyIterator.advancecCstj||�S)N)rZSwigPyIterator___eq__)r'r9rrr�__eq__�szSwigPyIterator.__eq__cCstj||�S)N)rZSwigPyIterator___ne__)r'r9rrr�__ne__�szSwigPyIterator.__ne__cCstj||�S)N)rZSwigPyIterator___iadd__)r'r?rrr�__iadd__�szSwigPyIterator.__iadd__cCstj||�S)N)rZSwigPyIterator___isub__)r'r?rrr�__isub__�szSwigPyIterator.__isub__cCstj||�S)N)rZSwigPyIterator___add__)r'r?rrr�__add__�szSwigPyIterator.__add__cGstj|f|��S)N)rZSwigPyIterator___sub__)r'r<rrr�__sub__�szSwigPyIterator.__sub__cCs|S)Nr)r'rrr�__iter__�szSwigPyIterator.__iter__N)r)r)rr5r8r!r%r.�__getattr__r>r6r1rZdelete_SwigPyIterator�__swig_destroy__�__del__r*r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrrrrr;is2

r;c@s>eZdZiZdd�ZiZdd�ZeZdd�Z	dd�Z
dd	�Zd
d�Zdd
�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Z d4d5�Z!d6d7�Z"d8d9�Z#d:d;�Z$d<d=�Z%d>d?�Z&d@dA�Z'dBdC�Z(dDdE�Z)e*j+Z,dFd�Z-dGS)H�VectorPPackageTargetcCst|t||�S)N)r-rS)r'r)r*rrrr:�szVectorPPackageTarget.<lambda>cCst|t|�S)N)r/rS)r'r)rrrr:�scCs
tj|�S)N)rZVectorPPackageTarget_iterator)r'rrr�iterator�szVectorPPackageTarget.iteratorcCs|j�S)N)rT)r'rrrrO�szVectorPPackageTarget.__iter__cCs
tj|�S)N)rZ VectorPPackageTarget___nonzero__)r'rrr�__nonzero__�sz VectorPPackageTarget.__nonzero__cCs
tj|�S)N)rZVectorPPackageTarget___bool__)r'rrr�__bool__�szVectorPPackageTarget.__bool__cCs
tj|�S)N)rZVectorPPackageTarget___len__)r'rrr�__len__�szVectorPPackageTarget.__len__cCstj|||�S)N)rZ!VectorPPackageTarget___getslice__)r'�i�jrrr�__getslice__�sz!VectorPPackageTarget.__getslice__cGstj|f|��S)N)rZ!VectorPPackageTarget___setslice__)r'r<rrr�__setslice__�sz!VectorPPackageTarget.__setslice__cCstj|||�S)N)rZ!VectorPPackageTarget___delslice__)r'rXrYrrr�__delslice__�sz!VectorPPackageTarget.__delslice__cGstj|f|��S)N)rZ VectorPPackageTarget___delitem__)r'r<rrr�__delitem__�sz VectorPPackageTarget.__delitem__cGstj|f|��S)N)rZ VectorPPackageTarget___getitem__)r'r<rrr�__getitem__�sz VectorPPackageTarget.__getitem__cGstj|f|��S)N)rZ VectorPPackageTarget___setitem__)r'r<rrr�__setitem__�sz VectorPPackageTarget.__setitem__cCs
tj|�S)N)rZVectorPPackageTarget_pop)r'rrr�pop�szVectorPPackageTarget.popcCstj||�S)N)rZVectorPPackageTarget_append)r'r9rrr�append�szVectorPPackageTarget.appendcCs
tj|�S)N)rZVectorPPackageTarget_empty)r'rrr�empty�szVectorPPackageTarget.emptycCs
tj|�S)N)rZVectorPPackageTarget_size)r'rrr�size�szVectorPPackageTarget.sizecCstj||�S)N)rZVectorPPackageTarget_swap)r'�vrrr�swap�szVectorPPackageTarget.swapcCs
tj|�S)N)rZVectorPPackageTarget_begin)r'rrr�begin�szVectorPPackageTarget.begincCs
tj|�S)N)rZVectorPPackageTarget_end)r'rrr�end�szVectorPPackageTarget.endcCs
tj|�S)N)rZVectorPPackageTarget_rbegin)r'rrr�rbegin�szVectorPPackageTarget.rbegincCs
tj|�S)N)rZVectorPPackageTarget_rend)r'rrr�rend�szVectorPPackageTarget.rendcCs
tj|�S)N)rZVectorPPackageTarget_clear)r'rrr�clear�szVectorPPackageTarget.clearcCs
tj|�S)N)rZ"VectorPPackageTarget_get_allocator)r'rrr�
get_allocator�sz"VectorPPackageTarget.get_allocatorcCs
tj|�S)N)rZVectorPPackageTarget_pop_back)r'rrr�pop_back�szVectorPPackageTarget.pop_backcGstj|f|��S)N)rZVectorPPackageTarget_erase)r'r<rrr�erase�szVectorPPackageTarget.erasecGs<tj|�}y|jj|�Wntjk
r6||_YnXdS)N)rZnew_VectorPPackageTargetrrar2r3)r'r<rrrrr>�s

zVectorPPackageTarget.__init__cCstj||�S)N)rZVectorPPackageTarget_push_back)r'r9rrr�	push_backszVectorPPackageTarget.push_backcCs
tj|�S)N)rZVectorPPackageTarget_front)r'rrr�frontszVectorPPackageTarget.frontcCs
tj|�S)N)rZVectorPPackageTarget_back)r'rrr�backszVectorPPackageTarget.backcCstj|||�S)N)rZVectorPPackageTarget_assign)r'r?r9rrr�assign	szVectorPPackageTarget.assigncGstj|f|��S)N)rZVectorPPackageTarget_resize)r'r<rrr�resizeszVectorPPackageTarget.resizecGstj|f|��S)N)rZVectorPPackageTarget_insert)r'r<rrr�insertszVectorPPackageTarget.insertcCstj||�S)N)rZVectorPPackageTarget_reserve)r'r?rrr�reserveszVectorPPackageTarget.reservecCs
tj|�S)N)rZVectorPPackageTarget_capacity)r'rrr�capacityszVectorPPackageTarget.capacitycCsdS)Nr)r'rrrr:sN).rr5r8r!r%r.rPr6r1rTrOrUrVrWrZr[r\r]r^r_r`rarbrcrerfrgrhrirjrkrlrmr>rnrorprqrrrsrtrurZdelete_VectorPPackageTargetrQrRrrrrrS�sPrSc@sFeZdZiZdd�ZiZdd�ZeZdd�Z	dd�Z
ejZ
dd�Zd	S)
�LrExceptioncCst|t||�S)N)r-rv)r'r)r*rrrr:szLrException.<lambda>cCst|t|�S)N)r/rv)r'r)rrrr: scGs<tj|�}y|jj|�Wntjk
r6||_YnXdS)N)rZnew_LrExceptionrrar2r3)r'r<rrrrr>#s

zLrException.__init__cCs
tj|�S)N)rZLrException_getCode)r'rrr�getCode*szLrException.getCodecCsdS)Nr)r'rrrr:-sN)rr5r8r!r%r.rPr6r1r>rwrZdelete_LrExceptionrQrRrrrrrvsrvc@s�eZdZiZdd�ZiZdd�ZeZe	j
Ze	jZ
e	jZe	jZe	jZe	jZdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Ze	jZdd�Zdd�Zdd�Z dS)�RepoCBcCst|t||�S)N)r-rx)r'r)r*rrrr:3szRepoCB.<lambda>cCst|t|�S)N)r/rx)r'r)rrrr:5scCstj||�S)N)rZRepoCB_start)r'�whatrrr�start>szRepoCB.startcCs
tj|�S)N)rZ
RepoCB_end)r'rrrrgAsz
RepoCB.endcCstj|||�S)N)rZRepoCB_progress)r'�totalToDownload�
downloadedrrr�progressDszRepoCB.progresscCstj|||�S)N)rZRepoCB_fastestMirror)r'Zstage�msgrrr�
fastestMirrorGszRepoCB.fastestMirrorcCstj||||�S)N)rZRepoCB_handleMirrorFailure)r'r~�urlZmetadatarrr�handleMirrorFailureJszRepoCB.handleMirrorFailurecCstj||||||�S)N)rZRepoCB_repokeyImport)r'�idZuserIdZfingerprintr�Z	timestamprrr�
repokeyImportMszRepoCB.repokeyImportcCsdS)Nr)r'rrrr:PscCsP|jtkrd}n|}tj|�}y|jj|�Wntjk
rJ||_YnXdS)N)r4rxrZ
new_RepoCBrrar2r3)r'�_selfrrrrr>Rs

zRepoCB.__init__cCs|jj�tj|�t|�S)N)r�disownrZ
disown_RepoCB�
weakref_proxy)r'rrr�
__disown__\s

zRepoCB.__disown__N)!rr5r8r!r%r.rPr6r1rZRepoCB_FastestMirrorStage_INITZFastestMirrorStage_INITZ&RepoCB_FastestMirrorStage_CACHELOADINGZFastestMirrorStage_CACHELOADINGZ,RepoCB_FastestMirrorStage_CACHELOADINGSTATUSZ%FastestMirrorStage_CACHELOADINGSTATUSZ#RepoCB_FastestMirrorStage_DETECTIONZFastestMirrorStage_DETECTIONZ#RepoCB_FastestMirrorStage_FINISHINGZFastestMirrorStage_FINISHINGZ RepoCB_FastestMirrorStage_STATUSZFastestMirrorStage_STATUSrzrgr}rr�r�Z
delete_RepoCBrQrRr>r�rrrrrx1s*
rxc@s�eZdZiZdd�ZiZdd�ZeZe	j
Ze	jZ
e	jZe	jZe	jZe	jZerXee	j�Zne	jZdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Zdd�Z dd�Z!dd�Z"didd�Z#dd�Z$dd�Z%dd�Z&dd �Z'd!d"�Z(d#d$�Z)d%d&�Z*d'd(�Z+d)d*�Z,d+d,�Z-d-d.�Z.d/d0�Z/d1d2�Z0d3d4�Z1d5d6�Z2d7d8�Z3d9d:�Z4d;d<�Z5d=d>�Z6d?d@�Z7dAdB�Z8dCdD�Z9dEdF�Z:dGdH�Z;dIdJ�Z<dKdL�Z=dMdN�Z>dOdP�Z?dQdR�Z@dSdT�ZAdUdV�ZBdWdX�ZCdYdZ�ZDd[d\�ZEd]d^�ZFe	jGZHd_d�ZId`da�ZJdbdc�ZKddde�ZLdfdg�ZMdhS)j�RepocCst|t||�S)N)r-r�)r'r)r*rrrr:esz
Repo.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:gscCs
tj|�S)N)rZRepo_verify)r'rrr�verifytszRepo.verifycCs
tj|�S)N)rZRepo_getConfig)r'rrr�	getConfigwszRepo.getConfigcCs
tj|�S)N)rZ
Repo_getId)r'rrr�getIdzsz
Repo.getIdcCs
tj|�S)N)rZRepo_enable)r'rrr�enable}szRepo.enablecCs
tj|�S)N)rZRepo_disable)r'rrr�disable�szRepo.disablecCs
tj|�S)N)rZRepo_isEnabled)r'rrr�	isEnabled�szRepo.isEnabledcCs
tj|�S)N)rZRepo_isLocal)r'rrr�isLocal�szRepo.isLocalcCs
tj|�S)N)rZRepo_getLocalBaseurl)r'rrr�getLocalBaseurl�szRepo.getLocalBaseurlcCs
tj|�S)N)rZ	Repo_load)r'rrr�load�sz	Repo.loadFcCstj|||�S)N)rZRepo_loadCache)r'ZthrowExceptZ
ignoreMissingrrr�	loadCache�szRepo.loadCachecCstj||�S)N)rZRepo_downloadMetadata)r'Zdestdirrrr�downloadMetadata�szRepo.downloadMetadatacCs
tj|�S)N)rZRepo_getUseIncludes)r'rrr�getUseIncludes�szRepo.getUseIncludescCstj||�S)N)rZRepo_setUseIncludes)r'Zenabledrrr�setUseIncludes�szRepo.setUseIncludescCs
tj|�S)N)rZRepo_getLoadMetadataOther)r'rrr�getLoadMetadataOther�szRepo.getLoadMetadataOthercCstj||�S)N)rZRepo_setLoadMetadataOther)r'r*rrr�setLoadMetadataOther�szRepo.setLoadMetadataOthercCs
tj|�S)N)rZRepo_getCost)r'rrr�getCost�szRepo.getCostcCs
tj|�S)N)rZRepo_getPriority)r'rrr�getPriority�szRepo.getPrioritycCs
tj|�S)N)rZRepo_getCompsFn)r'rrr�
getCompsFn�szRepo.getCompsFncCs
tj|�S)N)rZRepo_getModulesFn)r'rrr�getModulesFn�szRepo.getModulesFncCs
tj|�S)N)rZRepo_getRevision)r'rrr�getRevision�szRepo.getRevisioncCs
tj|�S)N)rZRepo_getAge)r'rrr�getAge�szRepo.getAgecCstj||�S)N)rZRepo_addMetadataTypeToDownload)r'�metadataTyperrr�addMetadataTypeToDownload�szRepo.addMetadataTypeToDownloadcCstj||�S)N)rZ#Repo_removeMetadataTypeFromDownload)r'r�rrr�removeMetadataTypeFromDownload�sz#Repo.removeMetadataTypeFromDownloadcCstj||�S)N)rZRepo_getMetadataPath)r'r�rrr�getMetadataPath�szRepo.getMetadataPathcCstj||�S)N)rZRepo_getMetadataContent)r'r�rrr�getMetadataContent�szRepo.getMetadataContentcCs
tj|�S)N)rZRepo_expire)r'rrr�expire�szRepo.expirecCs
tj|�S)N)rZRepo_isExpired)r'rrr�	isExpired�szRepo.isExpiredcCs
tj|�S)N)rZRepo_getExpiresIn)r'rrr�getExpiresIn�szRepo.getExpiresIncCs
tj|�S)N)rZ
Repo_fresh)r'rrr�fresh�sz
Repo.freshcCstj||�S)N)rZRepo_setMaxMirrorTries)r'ZmaxMirrorTriesrrr�setMaxMirrorTries�szRepo.setMaxMirrorTriescCs
tj|�S)N)rZRepo_getTimestamp)r'rrr�getTimestamp�szRepo.getTimestampcCs
tj|�S)N)rZRepo_getMaxTimestamp)r'rrr�getMaxTimestamp�szRepo.getMaxTimestampcCstj||�S)N)rZRepo_setPreserveRemoteTime)r'ZpreserveRemoteTimerrr�setPreserveRemoteTime�szRepo.setPreserveRemoteTimecCs
tj|�S)N)rZRepo_getPreserveRemoteTime)r'rrr�getPreserveRemoteTime�szRepo.getPreserveRemoteTimecCs
tj|�S)N)rZRepo_getContentTags)r'rrr�getContentTags�szRepo.getContentTagscCs
tj|�S)N)rZRepo_getDistroTags)r'rrr�
getDistroTags�szRepo.getDistroTagscCs
tj|�S)N)rZRepo_getMetadataLocations)r'rrr�getMetadataLocations�szRepo.getMetadataLocationscCs
tj|�S)N)rZRepo_getCachedir)r'rrr�getCachedir�szRepo.getCachedircCstj||�S)N)rZRepo_setRepoFilePath)r'�pathrrr�setRepoFilePath�szRepo.setRepoFilePathcCs
tj|�S)N)rZRepo_getRepoFilePath)r'rrr�getRepoFilePath�szRepo.getRepoFilePathcCstj||�S)N)rZRepo_setSyncStrategy)r'Zstrategyrrr�setSyncStrategy�szRepo.setSyncStrategycCs
tj|�S)N)rZRepo_getSyncStrategy)r'rrr�getSyncStrategy�szRepo.getSyncStrategycCstj|||�S)N)rZRepo_downloadUrl)r'r��fdrrr�downloadUrl�szRepo.downloadUrlcCs
tj|�S)N)rZRepo_getMirrors)r'rrr�
getMirrors�szRepo.getMirrorscCstj||�S)N)rZRepo_setSubstitutions)r'Z
substitutionsrrr�setSubstitutions�szRepo.setSubstitutionscCsdS)Nr)r'rrrr:�scCs>tj||�}y|jj|�Wntjk
r8||_YnXdS)N)rZnew_Reporrar2r3)r'r��configrrrrr>�s
z
Repo.__init__cCstj||�S)N)rZRepo_setCallbacks)r'Z	callbacksrrr�setCallbacksszRepo.setCallbackscCstj||�S)N)rZRepo_setHttpHeaders)r'Zheadersrrr�setHttpHeadersszRepo.setHttpHeaderscCs
tj|�S)N)rZRepo_getHttpHeaders)r'rrr�getHttpHeaders
szRepo.getHttpHeadersN)F)Nrr5r8r!r%r.rPr6r1rZRepo_Type_AVAILABLEZType_AVAILABLEZRepo_Type_SYSTEMZType_SYSTEMZRepo_Type_COMMANDLINEZType_COMMANDLINEZRepo_SyncStrategy_LAZYZSyncStrategy_LAZYZRepo_SyncStrategy_ONLY_CACHEZSyncStrategy_ONLY_CACHEZRepo_SyncStrategy_TRY_CACHEZSyncStrategy_TRY_CACHEr#�staticmethod�
Repo_verifyIdZverifyIdr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�Zdelete_ReporQrRr>r�r�r�rrrrr�cs�
r�cCs
tj|�S)N)rr�)r�rrrr�sr�c@sTeZdZiZdd�ZiZdd�ZeZe	r4e
ej�Z
nejZ
dd�ZejZdd�ZdS)�
DownloadercCst|t||�S)N)r-r�)r'r)r*rrrr:szDownloader.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:scCs:tj�}y|jj|�Wntjk
r4||_YnXdS)N)rZnew_Downloaderrrar2r3)r'rrrrr>s
zDownloader.__init__cCsdS)Nr)r'rrrr:%sN)rr5r8r!r%r.rPr6r1r#r�r�Downloader_downloadURLZdownloadURLr>Zdelete_DownloaderrQrRrrrrr�sr�cCstj|||�S)N)rr�)Zcfgr�r�rrrr�)sr�c@speZdZiZdd�ZiZdd�ZeZe	j
Ze	jZ
e	jZdd�Zdd�Zdd	�Ze	jZd
d�Zdd�Zd
d�ZdS)�PackageTargetCBcCst|t||�S)N)r-r�)r'r)r*rrrr:/szPackageTargetCB.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:1scCstj|||�S)N)rZPackageTargetCB_end)r'Zstatusr~rrrrg7szPackageTargetCB.endcCstj|||�S)N)rZPackageTargetCB_progress)r'r{r|rrrr}:szPackageTargetCB.progresscCstj|||�S)N)rZPackageTargetCB_mirrorFailure)r'r~r�rrr�
mirrorFailure=szPackageTargetCB.mirrorFailurecCsdS)Nr)r'rrrr:@scCsP|jtkrd}n|}tj|�}y|jj|�Wntjk
rJ||_YnXdS)N)r4r�rZnew_PackageTargetCBrrar2r3)r'r�rrrrr>Bs

zPackageTargetCB.__init__cCs|jj�tj|�t|�S)N)rr�rZdisown_PackageTargetCBr�)r'rrrr�Ls

zPackageTargetCB.__disown__N)rr5r8r!r%r.rPr6r1rZ)PackageTargetCB_TransferStatus_SUCCESSFULZTransferStatus_SUCCESSFULZ,PackageTargetCB_TransferStatus_ALREADYEXISTSZTransferStatus_ALREADYEXISTSZ$PackageTargetCB_TransferStatus_ERRORZTransferStatus_ERRORrgr}r�Zdelete_PackageTargetCBrQrRr>r�rrrrr�-s
r�c@s�eZdZiZdd�ZiZdd�ZeZe	j
Ze	jZ
e	jZe	jZe	jZe	jZe	jZer^ee	j�Zne	jZertee	j�Zne	jZe	jZdd�Z dd�Z!dd�Z"d	d
�Z#dS)�
PackageTargetcCst|t||�S)N)r-r�)r'r)r*rrrr:UszPackageTarget.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:WscCsdS)Nr)r'rrrr:iscCs
tj|�S)N)rZPackageTarget_getCallbacks)r'rrr�getCallbackskszPackageTarget.getCallbackscCs
tj|�S)N)rZPackageTarget_getErr)r'rrr�getErrnszPackageTarget.getErrcGs<tj|�}y|jj|�Wntjk
r6||_YnXdS)N)rZnew_PackageTargetrrar2r3)r'r<rrrrr>qs

zPackageTarget.__init__N)$rr5r8r!r%r.rPr6r1rZ"PackageTarget_ChecksumType_UNKNOWNZChecksumType_UNKNOWNZPackageTarget_ChecksumType_MD5ZChecksumType_MD5ZPackageTarget_ChecksumType_SHA1ZChecksumType_SHA1Z!PackageTarget_ChecksumType_SHA224ZChecksumType_SHA224Z!PackageTarget_ChecksumType_SHA256ZChecksumType_SHA256Z!PackageTarget_ChecksumType_SHA384ZChecksumType_SHA384Z!PackageTarget_ChecksumType_SHA512ZChecksumType_SHA512r#r��PackageTarget_checksumTypeZchecksumType�PackageTarget_downloadPackagesZdownloadPackagesZdelete_PackageTargetrQrRr�r�r>rrrrr�Ss.r�cCs
tj|�S)N)rr�)r)rrrr�zsr�cCstj||�S)N)rr�)ZtargetsZfailFastrrrr�~sr�c@s�eZdZiZdd�ZiZdd�ZeZe	r4e
ej�Z
nejZ
e	rJe
ej�ZnejZe	r`e
ej�ZnejZdd�ZejZdd�ZdS)�
LibrepoLogcCst|t||�S)N)r-r�)r'r)r*rrrr:�szLibrepoLog.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:�scCs:tj�}y|jj|�Wntjk
r4||_YnXdS)N)rZnew_LibrepoLogrrar2r3)r'rrrrr>�s
zLibrepoLog.__init__cCsdS)Nr)r'rrrr:�sN)rr5r8r!r%r.rPr6r1r#r�r�LibrepoLog_addHandlerZ
addHandler�LibrepoLog_removeHandlerZ
removeHandler�LibrepoLog_removeAllHandlersZremoveAllHandlersr>Zdelete_LibrepoLogrQrRrrrrr��s"r�FcCstj||�S)N)rr�)ZfilePath�debugrrrr��sr�cCs
tj|�S)N)rr�)Zuidrrrr��sr�cCstj�S)N)rr�rrrrr��sr�c@s>eZdZiZdd�ZiZdd�ZeZdd�Z	e
jZdd�Z
dS)�	RepoErrorcCst|t||�S)N)r-r�)r'r)r*rrrr:�szRepoError.<lambda>cCst|t|�S)N)r/r�)r'r)rrrr:�scCs<tj|�}y|jj|�Wntjk
r6||_YnXdS)N)rZ
new_RepoErrorrrar2r3)r'ryrrrrr>�s

zRepoError.__init__cCsdS)Nr)r'rrrr:�sN)rr5r8r!r%r.rPr6r1r>rZdelete_RepoErrorrQrRrrrrr��sr�)rrr)rrr)r)F)4�sysrZ_swig_python_version_inforr�propertyZ_swig_property�	NameError�builtinsr2r
r,r-r/r6r$r7r#r3�weakref�proxyr�r;ZSwigPyIterator_swigregisterZlibdnf.common_typesZlibdnfZlibdnf.confrSZ!VectorPPackageTarget_swigregisterrvZLrException_swigregisterrxZRepoCB_swigregisterr�ZRepo_swigregisterr�r�ZDownloader_swigregisterr�r�ZPackageTargetCB_swigregisterr�ZPackageTarget_swigregisterr�r�r�ZLibrepoLog_swigregisterr�r�r�r�ZRepoError_swigregisterrrrr�<module>s�
	

=n/*#$


?>