File: //lib/python3.6/site-packages/sos/cleaner/mappings/__pycache__/__init__.cpython-36.pyc
3
\��h� � @ s6 d dl Z d dlZd dlZd dlmZ G dd� d�ZdS )� N)�Pathc @ s| e Zd ZdZg Zg ZdZdZdZdd� Z dd� Z
dd � Zd
d� Zdd
� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )�SoSMapz�Standardized way to store items with their obfuscated counterparts.
Each type of sanitization that SoSCleaner supports should have a
corresponding SoSMap() object, to allow for easy retrieval of obfuscated
items.
TFc C sJ i | _ t� | _g | _| jjj� | _|| _t j
j| jd| j�| _| j
� d S )NZ
cleaner_cache)�dataset�set�
_regexes_made�compiled_regexes� __class__�__name__�lowerZcname�workdir�os�path�join� cache_dir�load_entries)�selfr � r �/usr/lib/python3.6/__init__.py�__init__ s
zSoSMap.__init__c C s"