| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /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 '