| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/sssd/__pycache__/ |
Upload File : |
a
��pi � @ s8 d dl Z d dlZd dlmZ e�� ZG dd� de�ZdS )� N)�Readerc sB e Zd ZdZ� fdd�Zdd� Zdd� Zd
d d
�Zdd� Z� Z S )�Filesz�
A class used to represent a Log Files Reader
Args:
path -- the path where SSSD logs are to
be read (default /var/log/sssd/)
c s* t � �� g | _| �|�| _| �� | _d S �N)�super�__init__� log_files�resolve_path�path�get_domain_logfiles�domains��selfr �� __class__� �5/usr/lib/python3.9/site-packages/sssd/source_files.pyr s
zFiles.__init__c c s� | j D ]�}z<t|�� }|D ]
}|V qW d � n1 s:0 Y W q ty� } z,t�d� t�|� W Y d}~qW Y d}~qd}~0 0 qdS )zH
Yields:
str: The next line in the log file
Nz(Could not find domain log file, skipping)r �open�FileNotFoundError�loggerZwarning)r
�files�file�line�errr r r �__iter__ s
*
zFiles.__iter__c C s |� d�r|S |d S d S )N�/)�endswithr r r r r '