HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/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