| 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 : |
�
�(fV � �� � d dl mZ d dl mZ d dlmZ d dlZd dlZd dlZd dl Z d dl
Z
d dlZd dlZ e
j d� Z G d� de� Z G d� d e� Z G d
� de� Zy)� )�absolute_import)�unicode_literals)�_N�dnfc �, � e Zd Zd� Zg fd�Zed� � Zy)�JSONDBc �� � t j j |� sOt j j t j j
|� � | j |g � y y �N)�os�path�isfiler �util�
ensure_dir�dirname�_write_json_db)�self� json_paths �2/usr/lib/python3.12/site-packages/dnf/persistor.py�_check_json_dbzJSONDB._check_json_db* sF � ��w�w�~�~�i�(��H�H�������� � :�;���� �2�.� )� c �\ � t |d� 5 }|j � }d d d � dk( r3t j t d� |� | j ||� |S t
j |� }|S # 1 sw Y �YxY w# t $ r }t j |� Y d }~|S d }~ww xY w)N�r� z%s is empty file) �open�read�logger�warningr r �json�loads�
ValueError)r r �default�f�content�es r �_get_json_dbzJSONDB._get_json_db0 s� � �
�)�S�
!�Q��f�f�h�G� "��b�=��N�N�1�/�0�)�<���� �7�3� ��
"��*�*�W�-�� �� "�
!�� �
"����q�!�!����
"�s# �A6�B �6A?� B+�B&�&B+c �r � t | d� 5 }t j ||� d d d � y # 1 sw Y y xY w)N�w)r r �dump)r r# r"