| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib64/python3.6/site-packages/setools/__pycache__/ |
Upload File : |
3
�^� � @ s$ d dl mZmZ G dd� de�ZdS )� )�ABC�abstractmethodc @ s$ e Zd ZdZdd� Zedd� �ZdS )�PolicyQueryz/Abstract base class for SELinux policy queries.c K sV || _ xJt|j� dd�D ]6}t| |d �}t|�r>tdj|���t| ||| � qW d S )NT)�reversez0Keyword parameter {0} conflicts with a callable.)�policy�sorted�keys�getattr�callable�
ValueError�format�setattr)�selfr �kwargs�name�attr� r �/usr/lib64/python3.6/query.py�__init__ s zPolicyQuery.__init__c C s dS )z}
Generator which returns the matches for the query. This method
should be overridden by subclasses.
Nr )r r r r �results* s zPolicyQuery.resultsN)�__name__�
__module__�__qualname__�__doc__r r r r r r r r s r N)�abcr r r r r r r �<module> s