404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.188.92.132: ~ $
3

�ft`��@s�ddlmZddlmZddlmZddlmZddlZddl	Zddl
Z
dd�Zd	d
�Zdd�Z
e
dJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dE��ZdFdG�ZdHdI�ZdS)a�)�absolute_import)�unicode_literals�)�transaction)�is_py3bytesNc)Cs�tj|d�}|jtjtjB��xztjjD�]l}tj	j
rDt|d�}y|jd|�}Wn<t
tjfk
r�}ztjjdt|���WYdd}~XnXt|�s�q,yt|�}Wn$tk
r�d}tjj|��YnX|d}y�y|tjj|�}Wn,tk
�r|tjj|jd��}YnX|tj|}	|tj|}
|	tjk�rd|
�rd|d	||jd�fk�rd|
}Wntttfk
�r�YnXt|��r�t|d�}|SWdS)
z-Calculate the release version for the system.)�rootzutf-8Zprovidesz	Error: %sNz:Error: rpmdb failed to list provides. Try: rpm --rebuilddb�version�utf8�name)r�initReadOnlyTransactionZpushVSFlags�rpmZ_RPMVSF_NOSIGNATURESZ_RPMVSF_NODIGESTS�dnf�constZDISTROVERPKGZpycompZPY3�bytesZdbMatch�	TypeError�error�
exceptions�Error�str�len�next�
StopIterationZRPMTAG_PROVIDENAME�index�
ValueError�decodeZRPMTAG_PROVIDEFLAGSZRPMTAG_PROVIDEVERSIONZRPMSENSE_EQUAL�KeyError�
IndexErrorr)Zinstallroot�tsZdistroverpkg�idx�e�hdr�msgZ
releaseverZoff�flagZver�r#�/usr/lib/python3.6/__init__.py�detect_releaseversB
&

r%cCsptj�}t|��V}|j�}y|j|�}Wn8tjk
r`}ztjj	dj
||���WYdd}~XnX|SQRXdS)zReturn RPM header of the file.z
{0}: '{1}'N)rr�open�filenoZhdrFromFdnorrr
rr�format)�pathr�packageZfdnor rr#r#r$�_headerIs
&r+cs�fdd��D�S)Ncs i|]}�|D]
}||�qqSr#r#)�.0�k�v)�dctr#r$�
<dictcomp>Vsz_invert.<locals>.<dictcomp>r#)r/r#)r/r$�_invertUsr1�aarch64�alpha�alphaev4�	alphaev45�alphaev5�	alphaev56�alphaev6�	alphaev67�	alphaev68�alphaev7�
alphapca56�	armv5tejl�armv5tel�armv5tl�armv6l�armv7l�armv8l�armv6hl�armv7hl�armv7hnl�armv8hl�i386�athlon�geode�i486�i586�i686�ia64�mips�mipsel�mips64�mips64el�noarch�ppc�ppc64�ppc64iseries�ppc64p7�ppc64pseries�ppc64le�riscv32�riscv64�riscv128�s390�s390x�sh3�sh4�sh4a�sparc�sparc64�sparc64v�sparcv8�sparcv9�sparcv9v�x86_64�amd64�ia32e)r2r3ZarmZarmhfprGrMrNrOrPrQrRrSrTrXrYrZr[r\r]r^r_rargcCst|S)N)�
_BASEARCH_MAP)Zarchr#r#r$�basearchusrkcCs||}t|�rt|d�}|S)z�
    Returns value of rpm_hdr[key] as a string. Rpm has switched from bytes to str
    and we need to handle both properly.
    zutf-8)rr)Zrpm_hdr�key�valuer#r#r$�	getheaderzs
rn)r2)
r3r4r5r6r7r8r9r:r;r<)r=r>r?r@rArB)rCrDrErF)rGrHrIrGrJrKrL)rM)rN)rO)rP)rQ)rR)rS)rTrUrVrW)rX)rY)rZ)r[)r\)r])r^)r_r`)rarbrcrdrerf)rgrhri)Z
__future__rr�rZ
dnf.pycomprZ	dnf.constr
Zdnf.exceptionsrr%r+r1rjrkrnr#r#r#r$�<module>sJ,


Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 3.52 KB 0644
__init__.cpython-36.pyc File 3.52 KB 0644
connection.cpython-36.opt-1.pyc File 794 B 0644
connection.cpython-36.pyc File 794 B 0644
error.cpython-36.opt-1.pyc File 274 B 0644
error.cpython-36.pyc File 274 B 0644
miscutils.cpython-36.opt-1.pyc File 2.41 KB 0644
miscutils.cpython-36.pyc File 2.41 KB 0644
transaction.cpython-36.opt-1.pyc File 3.6 KB 0644
transaction.cpython-36.pyc File 3.6 KB 0644