This commit is contained in:
Boris 2022-11-10 14:21:37 +03:00
parent 687ddea4f1
commit 057662b01c
3 changed files with 7 additions and 2 deletions

2
.gitignore vendored
View File

@ -127,3 +127,5 @@ dmypy.json
# Pyre type checker
.pyre/
.howtobuild

View File

@ -1,2 +1,2 @@
"""Curator Version"""
__version__ = '0.0.6'
__version__ = '0.0.7'

View File

@ -2124,7 +2124,10 @@ def password_filter_special(data):
if isinstance(value, dict):
iterdict(value)
elif key == "http_auth":
mydict.update({"http_auth": (value[0],"REDACTED")})
if value is None:
mydict.update({"http_auth": None})
else:
mydict.update({"http_auth": "REDACTED"})
elif key == "password":
mydict.update({"password": "REDACTED"})
return mydict