%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/cleaner/preppers/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/cleaner/preppers/__pycache__/keywords.cpython-312.pyc |
� i��dQ � �. � d dl Z d dlmZ G d� de� Zy)� N)� SoSPrepperc � � e Zd ZdZdZd� Zy)�KeywordPrepperzs Prepper to handle keywords passed to cleaner via either the `--keywords` or `--keyword-file` options. �keywordc � � g }| j j D ] }|j |� � | j j r�t j j | j j � rVt | j j d� 5 }|j |j � j � � d d d � |D ] }| j d j |� �" |S # 1 sw Y �0xY w)N�rr ) �opts�keywords�append�keyword_file�os�path�exists�open�extend�read� splitlines�regex_items�add)�self�archive�items�kw�kwf�items �?/usr/lib/python3/dist-packages/sos/cleaner/preppers/keywords.py�_get_items_for_keywordz%KeywordPrepper._get_items_for_keyword s� � ����)�)�$�$� �B��L�L��� ��9�9�!�!�b�g�g�n�n�T�Y�Y�5K�5K�&L��d�i�i�,�,�c�2� 6�c����S�X�X�Z�2�2�4�5� 6� � 2�D����Y�'�+�+�D�1� 2� �� 6� 6�s �.C5�5C>N)�__name__� __module__�__qualname__�__doc__�namer � � r r r s � �� �D�r$ r )r �sos.cleaner.preppersr r r# r$ r �<module>r&