????

Your IP : 216.73.217.84


Current Path : /usr/lib/python3.9/site-packages/ipapython/__pycache__/
Upload File :
Current File : //usr/lib/python3.9/site-packages/ipapython/__pycache__/errors.cpython-39.pyc

a

}�f��@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<dd�dd�|��D��}tt|��|�||_||_dS)Nz"Could not set SELinux booleans: %s� css|]\}}d||fVqdS)z%s=%sN�)�.0�name�valuerr�4/usr/lib/python3.9/site-packages/ipapython/errors.py�	<genexpr>sz*SetseboolError.__init__.<locals>.<genexpr>)�join�items�superr�__init__�failed�command)�selfr
r�message��	__class__rrrs�
zSetseboolError.__init__cCsd�gd��|||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%s�z%SetseboolError.format_service_warning)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rrrrrsrN)�	Exceptionrrrrr�<module>�