| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE 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