| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.12/site-packages/dnf/__pycache__/ |
Upload File : |
�
�(faf � � � d dl mZ d dl mZ d dl mZ d dlZd dlZd dlmZ d dlZ d dl
Z
d Zd Ze�de��Z
G d� de j j � Z G d � d
e j j � Z G d� de� Zd
� Zd� Z G d� de� Zy)� )�absolute_import)�print_function)�unicode_literalsN)�_�.c � � � e Zd Z� fd�Z� xZS )�TransactionErrorc �, �� t t | � |� y �N)�superr �__init__)�self�msg� __class__s ��7/usr/lib/python3.12/site-packages/dnf/transaction_sr.pyr
zTransactionError.__init__/ s �� �
���.�s�3� ��__name__�
__module__�__qualname__r
�
__classcell__�r s @r r r . s
�� �4� 4r r c � � � e Zd Z� fd�Z� xZS )�TransactionReplayErrorc � �� || _ t |t t f� r|| _ n|g| _ |rt d� j
|�� }nt d� }| j D ] }|dt |� z z
}� t t | �+ |� y)z�
:param filename: The name of the transaction file being replayed
:param errors: a list of error classes or a string with an error description
zWThe following problems occurred while replaying the transaction from file "{filename}":)�filenamez<The following problems occurred while running a transaction:z
N)r �
isinstance�list�tuple�errorsr �format�strr r r
)r r r r �errorr s �r r
zTransactionReplayError.__init__4 s� �� � !��
��f�t�U�m�,� �D�K�!�(�D�K���m�n�u�u� @H�u� I�C��R�S�C��[�[�E��6�C��J�&�&�C� !� �$�d�4�S�9r r r s @r r r 3 s
�� �:� :r r c � � � e Zd Z� fd�Z� xZS )�#IncompatibleTransactionVersionErrorc �. �� t t | � ||� y r )r r% r
)r r r r s �r r
z,IncompatibleTransactionVersionError.__init__M s �� �
�1�4�A�(�C�Pr r r s @r r% r% L s �� �Q� Qr r% c � � | j d� \ }} t |� } t |� |t k7 r*t |t d� j |t �� � �y # t $ r*}t |t d� j |�� � �d }~ww xY w# t $ r*}t |t d� j |�� � �d }~ww xY w)Nr z1Invalid major version "{major}", number expected.)�majorz1Invalid minor version "{minor}", number expected.)�minorzPIncompatible major version "{major}", supported major version is "{major_supp}".)r( �
major_supp)�split�int�
ValueErrorr r r! �
VERSION_MAJORr% )�versionr r( r) �es r �_check_versionr1 Q s� � ��=�=��%�L�E�5�
��E�
��
��E�
�
�
��1��
�`�a���e�
��>�
�
� �� �
�$��
�A�B�I�I�PU�I�V�
�
��
�� �
�$��
�A�B�I�I�PU�I�V�
�
��
�s. �A! �B �! B�*%B�B� C
� %C�C
c
� � dt i}g }g }g }| �|S | j � D �]Q }|j � r\|j |j |j
t j j |j � |j d�� �p|j � r�|j � }|j |j � g t j j |j � � d�}|j! � D ]a }|d j |j# � |j% � t j j |j'