ok

Mini Shell

Direktori : /lib64/python2.7/site-packages/rpm/
Upload File :
Current File : //lib64/python2.7/site-packages/rpm/__init__.pyc

�

�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

					

		
		

Zerion Mini Shell 1.0