diff options
author | Moisés Guimarães de Medeiros <moguimar@redhat.com> | 2020-07-24 17:32:40 +0200 |
---|---|---|
committer | Moisés Guimarães de Medeiros <moguimar@redhat.com> | 2020-07-25 11:31:15 +0200 |
commit | 37dea647eff2343ed437910fb1f8f38dd54dd2f8 (patch) | |
tree | c834813365fd0cddee685051fa685041ef0b5782 /oslo_context | |
parent | 8589646c12f225c1b140e45f71a10455e1af2244 (diff) | |
download | oslo-context-37dea647eff2343ed437910fb1f8f38dd54dd2f8.tar.gz |
Bump bandit version
This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to
avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393
Change-Id: I2e498fd13356f571acb905384206b4c97e6c5d92
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
Diffstat (limited to 'oslo_context')
-rw-r--r-- | oslo_context/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_context/context.py b/oslo_context/context.py index 5e38452..172d8ca 100644 --- a/oslo_context/context.py +++ b/oslo_context/context.py @@ -368,7 +368,7 @@ class RequestContext(object): if self.auth_token: # NOTE(jaosorior): Gotta obfuscate the token since this dict is # meant for logging and we shouldn't leak it. - values['auth_token'] = '***' + values['auth_token'] = '***' # nosec else: values['auth_token'] = None # NOTE(bnemec: auth_token_info isn't defined in oslo.context, but it's |