Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/hostname_parser.cpython-310.pyc
Ðазад
o G%@iM � @ s4 d dl Z d dlmZ d dlmZ G dd� de�ZdS )� N)�SoSCleanerParser)�SoSHostnameMapc s6 e Zd ZdZdZdgZg f� fdd� Zdd� Z� ZS )�SoSHostnameParserzHostname Parser�hostname_mapz5(((\b|_)[a-zA-Z0-9-\.]{1,200}\.[a-zA-Z]{1,63}(\b|_)))c s t |�| _t� �||� d S )N)r �mapping�super�__init__)�self�config�workdir�skip_cleaning_files�� __class__� �E/usr/lib/python3/dist-packages/sos/cleaner/parsers/hostname_parser.pyr s zSoSHostnameParser.__init__c C sf d}| j D ]}t�||tj�r||f S q| �|�\}}||7 }| jr/| �|�\}}||7 }||fS )a This will be called for every line in every file we process, so that every parser has a chance to scrub everything. We are overriding parent method since we need to swap ordering of _parse_line_with_compiled_regexes and _parse_line calls. r )�skip_line_patterns�re�match�I�_parse_line�compile_regexes�!_parse_line_with_compiled_regexes)r �line�count�skip_pattern�_count�_rcountr r r � parse_line s �zSoSHostnameParser.parse_line) �__name__� __module__�__qualname__�name�map_file_key�regex_patternsr r � __classcell__r r r r r s �r )r �sos.cleaner.parsersr �!sos.cleaner.mappings.hostname_mapr r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка