Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
usr
/
lib64
/
python3.9
/
site-packages
/
setools
/
checker
/
__pycache__
[ HOME ]
Exec
Submit
emptyattr.cpython-39.pyc
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 '