U
    L¬÷d3  ã                   @   s   d d„ Z dS )c                    sT   ‡ fdd„|D ƒ}dd„ |D ƒ}|s,ˆ dfS t |ƒ}ˆ d|… }ˆ |d … }||fS )Nc                    s   g | ]}ˆ   |¡‘qS © )Úfind©Ú.0Úc©Útextr   úD/usr/lib/python3/dist-packages/cloudinit/distros/parsers/__init__.pyÚ
<listcomp>	   s     z chop_comment.<locals>.<listcomp>c                 S   s   g | ]}|d kr|‘qS )éÿÿÿÿr   r   r   r   r   r	   
   s      Ú é    )Úmin)r   Zcomment_charsZcomment_locationsZmin_commentZbefore_commentZcommentr   r   r   Úchop_comment   s    r   N)r   r   r   r   r   Ú<module>   ó    