HEX
Server: LiteSpeed
System: Linux ratab.tasjeel.ae 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: arhamste (1605)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/ipapython/__pycache__/errors.cpython-36.pyc
3

�d[e��@sGdd�de�ZdS)cs(eZdZdZ�fdd�Zdd�Z�ZS)�SetseboolErroraSRaised when setting a SELinux boolean fails

    :param failed: Dictionary mapping boolean names to intended values
                   to their intended values, for booleans that cound not be set
    :param command: Command the user can run to set the booleans

    The initializer arguments are copied to attributes of the same name.
    cs<ddjdd�|j�D��}tt|�j|�||_||_dS)Nz"Could not set SELinux booleans: %s� css|]\}}d||fVqdS)z%s=%sN�)�.0�name�valuerr�/usr/lib/python3.6/errors.py�	<genexpr> sz*SetseboolError.__init__.<locals>.<genexpr>)�join�items�superr�__init__�failed�command)�selfr
r�message)�	__class__rrrs
zSetseboolError.__init__cCs$djddddddg�|||jd�S)	zLFormat warning for display when this is raised from service install
        �
zWARNING: %(err)s�z1The %(service)s may not function correctly until z7the booleans are successfully changed with the command:z    %(cmd)sz=Try updating the policycoreutils and selinux-policy packages.)�errZservice�cmd)r	r)rZservice_namerrr�format_service_warning%sz%SetseboolError.format_service_warning)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rr)rrrsrN)�	Exceptionrrrrr�<module>s