File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/__pycache__/minions.cpython-310.pyc
Back
o ;j� � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddl Zddl ZddlZddlZddl ZddlZddlmZ ddlmZ ddlmZmZ dZzddlZdZW n ey] Y nw e�e�Ze�d�Zd d � Zdd� Z d d� Z!ddd�Z"G dd� d�Z#dS )za This module contains routines used to verify the matcher against the minions expected to return � N)� ipaddress)�DEFAULT_TARGET_DELIM)�CommandExecutionError�SaltCacheErrorFTam (?x) ( (?P<engine>G|P|I|J|L|N|S|E|R) # Possible target engines (?P<delimiter>(?<=G|P|I|J).)? # Optional delimiter for specific engines @)? # Engine+delimiter are separated by a '@' # character and are optional for the target (?P<pattern>.+)$c s� t |�}|}t |�| t |�krOt�d�� g d��� fdd�|D �sQ�fdd�|D �r=dd�|� }t�d| ||� |gS d d�|� }t�d | ||� |gS d S d S )Nz^[A-Z]@)�(�[�{�\�?�}�]�)c s"