0x1949 Team - FAZEMRX - MANAGER
Edit File: m_list.cpython-310.pyc
o ���f� � @ s* d Z dde dfZdd� ZG dd� d�ZdS ) �replace�append�prepend� no_replacec G s |D ] }|| v r dS qdS )NTF� )�what�keys�kr r �:/usr/lib/python3/dist-packages/cloudinit/mergers/m_list.py�_has_any s �r c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) �Mergerc C sR || _ t| _tD ]}||v r|| _ nqt|d�| _t|d�| _t|dd�| _d S )N�recurse_str�recurse_dict� recurse_array�recurse_list)�_merger�DEF_MERGE_TYPE�_method�MERGE_TYPESr �_recurse_str� _recurse_dict�_recurse_array)�self�merger�opts�mr r r �__init__ s �zMerger.__init__c C s d| j | j| j| jf S )NzGListMerger: (method=%s,recurse_str=%s,recurse_dict=%s,recurse_array=%s))r r r r �r r r r �__str__ s ���zMerger.__str__c C s t | �t|�|��S )N)�tuple�_on_list�list)r �value� merge_withr r r � _on_tuple, s zMerger._on_tuplec s� � j dkrt|ttf�s|S g }� j dkr!|�|� |�|� |S � j dkr2|�|� |�|� |S � fdd�}|�|� tt|�t|��}t|�D ] }||| || �||<