Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/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