Skip to content

Commit

Permalink
Merge pull request #32 from Kayla-zhang/master
Browse files Browse the repository at this point in the history
CIPTPACK-855: fix the issue of printing plain text password when debu…
  • Loading branch information
jmkho-spirent authored Jul 23, 2024
2 parents 440cbf7 + 894c74e commit 89917ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def main():
setup(
name='stcrestclient',
version= '1.9.2',
version= '1.9.3',
author='Spirent',
author_email='[email protected]',
url='https://github.com/Spirent/py-stcrestclient',
Expand Down
2 changes: 1 addition & 1 deletion stcrestclient/resthttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def __print_req(self, method, url, headers, params):
print(' %s: %s' % (k, v))
if params:
print(' --- Params ---')
print(' ', params)
print(' ', {key:'******' if key.lower() == 'password' else value for key, value in params.items()})

def bulk_get_request(self, container, resource=None, query_items=None, depth=1,
accept=None, to_lower=False):
Expand Down

0 comments on commit 89917ce

Please sign in to comment.