|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /usr/lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/ |
Upload File : |
o
([Qh| � @ s d dl mZ G dd� de�ZdS )� )�SoSMapc @ s e Zd ZdZdZdZdd� ZdS )�
SoSKeywordMapa' Mapping store for user provided keywords
By default, this map will perform no matching or obfuscation. It relies
entirely on the use of the --keywords option by the user.
Any keywords provided are then obfuscated into 'obfuscatedwordX', where X
is an incrementing integer.
Tr c C sJ || j v r
| j | S d| j� �}| jd7 _|| j �� v r#| �|�S |S )N�obfuscatedword� )�dataset�
word_count�values�
sanitize_item)�self�item�_ob_item� r
�B/usr/lib/python3/dist-packages/sos/cleaner/mappings/keyword_map.pyr s
zSoSKeywordMap.sanitize_itemN)�__name__�
__module__�__qualname__�__doc__�match_full_words_onlyr r r
r
r
r r s
r N)�sos.cleaner.mappingsr r r
r
r
r �<module> s