Skip to content

Commit 5971656

Browse files
Rodrigo Guzmanashwoods
Rodrigo Guzman
authored andcommitted
fix processor docstrings
1 parent 98d4b6f commit 5971656

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

raven/processors.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ def filter_stacktrace(self, data, **kwargs):
6666

6767
class SanitizeKeysProcessor(Processor):
6868
"""
69-
Asterisk out things that look like passwords, credit card numbers,
70-
and API keys in frames, http, and basic extra data.
69+
Asterisk out things that correspond to a configurable set of keys.
7170
"""
7271

7372
MASK = '*' * 8
@@ -143,6 +142,10 @@ def _sanitize_keyvals(self, keyvals, delimiter):
143142

144143

145144
class SanitizePasswordsProcessor(SanitizeKeysProcessor):
145+
"""
146+
Asterisk out things that look like passwords, credit card numbers,
147+
and API keys in frames, http, and basic extra data.
148+
"""
146149
FIELDS = frozenset([
147150
'password',
148151
'secret',

0 commit comments

Comments
 (0)