Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/rpm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/rpm/__init__.pyo
�
Yi�ac@sdZddlZddlZddlTddlTddljZejZejZejZej	Z	ej
Z
ee
jd��Z
yddlTWnek
r�nXyddlTWnek
r�nXeZd�Zd�Zed�Zed�Zd	�Zd
�Zded�ZdS(
sNRPM Module

This module enables you to manipulate rpms and the rpm database.

i����N(t*t.cOs#tjdtdd�t||�S(NsUse rpm.hdr() instead.t
stackleveli(twarningstwarntDeprecationWarningthdr(targstkwds((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pyt
headerLoad#scCs[g}xNy3t|�}|r.|jt�n|j|�Wq	tjk
rSPq	Xq	|S(N(RtconverttHEADERCONV_RETROFIT_V3tappendt_rpmterror(trpm_fdtretrofitthlistth((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pyt_doHeaderListFromFD'scCs+t|t�st|�}nt||�S(N(t
isinstancetfdR(t	file_descR((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pytreadHeaderListFromFD4scCs)t|�}t||�}|j�|S(N(RRtclose(tpathRtfR((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pytreadHeaderListFromFile9s
cCsmt|t�st|�}ny|j�}t|�}Wn&tjtfk
rbd}d}nX||fS(N(RRttellRR
RtIOErrortNone(RtoffsetR((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pytreadHeaderFromFD?s
cCs7g}x*|D]"}t|�r
|j|�q
q
W|S(N(tsignalCaughtR(tsiglisttcaughttsig((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pyt
signalsCaughtKs

tcCst|||f|�S(N(tds(tTagNtNtEVRtFlags((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pytdsSingleSs(t__doc__Rtostrpm._rpmtrpm.transactionR
t_RPMVSF_NODIGESTSt_RPMVSF_NOHEADERt_RPMVSF_NOPAYLOADt_RPMVSF_NOSIGNATURESt__version__ttupletsplitt__version_info__t	rpm._rpmbtImportErrort	rpm._rpmstTransactionSetttsR	RtTrueRRR R%tRPMSENSE_ANYR,(((s2/usr/lib64/python2.7/site-packages/rpm/__init__.pyt<module>s6

					

		
		

ZeroDay Forums Mini