%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/ip_parser.cpython-312.pyc |
� i��dZ � �2 � d dl mZ d dlmZ G d� de� Zy)� )�SoSCleanerParser)�SoSIPMapc �B � � e Zd ZdZdZdgZdgZg d�ZdZdZ � fd�Z � xZS ) �SoSIPParserz Handles parsing for IP addressesz IP Parserz>((?<!(-|\.|\d))([0-9]{1,3}\.){3}([0-9]){1,3}(\/([0-9]{1,2}))?)z.*dnf\[.*\]:)zinstalled-debszinstalled-rpmszsos_commands/dpkgzsos_commands/python/pip_listzsos_commands/rpmzsos_commands/yum/.*list.*z#sos_commands/snappy/snap_list_--allzsos_commands/vulkan/vulkaninfozvar/log/.*dnf.*zvar/log/.*packag.*z.*(version|release)(\.txt)?$�ip_mapFc �J �� t � | _ t t | � |� y )N)r �mapping�superr �__init__)�self�config� __class__s ��?/usr/lib/python3/dist-packages/sos/cleaner/parsers/ip_parser.pyr zSoSIPParser.__init__/ s �� ��z��� �k�4�)�&�1� )�__name__� __module__�__qualname__�__doc__�name�regex_patterns�skip_line_patterns� skip_files�map_file_key�compile_regexesr � __classcell__)r s @r r r sB �� �*��D� J��N� ��� �J� �L��O�2� 2r r N)�sos.cleaner.parsersr �sos.cleaner.mappings.ip_mapr r � r r �<module>r s �� 1� 0�"2�"� "2r