Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/setools/checker/__pycache__/ |
Upload File : |
a q�qe� � @ sX d dl Z d dlmZ ddlmZmZ ddlmZ ddlm Z dZ d ZG d d� de�ZdS )� N)�List� )�InvalidType�InvalidCheckValue� )� CheckerModule)�config_bool_value�attr� missing_okc sx e Zd ZdZdZeeef�Zdd�� fdd�Z e dd� �Zejd d� �Ze d d� �Z e jdd� �Z ed�d d�Z� ZS )� EmptyTypeAttrz7Checker module for asserting a type attribute is empty.Zempty_typeattrN)�returnc sJ t � �|||� t�t�| _d | _d| _d| _|� t �| _|� t�| _ d S )NF)�super�__init__�loggingZ getLogger�__name__�log�_attr�_missing_ok�_pass_by_missing�get�MISSINOK_OPTr �ATTR_OPTr )�self�policy� checknameZconfig�� __class__� �?/usr/lib64/python3.9/site-packages/setools/checker/emptyattr.pyr s zEmptyTypeAttr.__init__c C s | j S �N)r �r r r r r '