HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/__pycache__/features.cpython-310.pyc
o

�N�g��@s4dZddlZe�e�ZGdd�d�Ze�ZejZdS)z
Feature flags
�Nc@s(eZdZddd�Zdd�Zddd�ZdS)	�FeaturesNcCs |duri|_n||_d|_dS)NF)�features�setup)�selfZ	_features�r�A/opt/saltstack/salt/lib/python3.10/site-packages/salt/features.py�__init__s
zFeatures.__init__cCs,|js|j�|�di��dSt�d�dS)NrzFeatures already setup)rr�update�get�log�warning)r�optsrrr�setup_featuresszFeatures.setup_featurescCs&ddl}|jj�dd�|j�||�S)Nri�z�Please stop checking feature flags using 'salt.features' and instead check the 'features' keyword on the configuration dictionary. The 'salt.features' module will go away in {version}.)Zsalt.utils.versions�utilsZversionsZ
warn_untilrr
)r�key�default�saltrrrr
s�zFeatures.get)N)�__name__�
__module__�__qualname__rrr
rrrrr
s
r)�__doc__�logging�	getLoggerrrrrrrrrr�<module>s