Skip to content

Commit

Permalink
Review comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arman Jasuja committed Jul 5, 2024
1 parent 5812685 commit 4ebae38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion logredactor/redacting_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ class RedactingFilter(logging.Filter):
'processName', 'args',
}

def __init__(self, patterns, default_mask='****', mask_keys={}):
def __init__(self, patterns, default_mask='****', mask_keys=None):
if mask_keys is None:
mask_keys = {}
super(RedactingFilter, self).__init__()
self._patterns = patterns
self._default_mask = str(default_mask)
Expand Down

0 comments on commit 4ebae38

Please sign in to comment.