관리-도구
편집 파일: plugin_loader.cpython-311.pyc
� �Cg � �V � d dl Zd dlZd dlZd dlZd dlZd dlmZ G d� de� � Z dS )� N)�LveStatsPluginc � � e Zd Zd� Zd� ZdS )�PluginLoaderc � � t j � |� � rYt j � t j � |� � � � s| j � d|� � dS dS dS )z� Check correcting symlink. If symlink incorrect return True :param str path: path to file or symlink :return bool: zIncorrect symlink %sTN)�os�path�islink�exists�realpath�log�warning)�selfr s ��/builddir/build/BUILDROOT/lve-stats-4.2.10-1.el8.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/core/plugin_loader.py�check_incorrect_symlinkz$PluginLoader.check_incorrect_symlink sq � � �7�>�>�$��� �����r�w�7G�7G��7M�7M�(N�(N� ��H���3�T�:�:�:��4� � � � � c �� � t j t � � | _ g }t j � |� � �r�d� t j |� � D � � }|D �]} t j � |� � \ }}t j � ||� � }| � |� � r�\t j � ||� � }|�| j � d|� � ��t j � |� � } |j � | � � d� t% | j � � � � � D � � } | s| j � d|� � ��"|� | � � | t, j | j <