From 0c3b3f5ee2d9566d4ee58f9fbe3fa747c1f9931f Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Thu, 20 Jun 2019 15:07:57 +0000 Subject: [PATCH] Fix bandit warning Bandit is throwing warnings because we use 'token' in a couple of variables. Change-Id: I9fd21974027bc2bda6036c34fa587a044faaacae --- keystonemiddleware/auth_token/_request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keystonemiddleware/auth_token/_request.py b/keystonemiddleware/auth_token/_request.py index 33df7a9f..269c3d31 100644 --- a/keystonemiddleware/auth_token/_request.py +++ b/keystonemiddleware/auth_token/_request.py @@ -105,8 +105,8 @@ class _AuthTokenRequest(webob.Request): _SYSTEM_SCOPE_HEADER = 'OpenStack-System-Scope' _SERVICE_CATALOG_HEADER = 'X-Service-Catalog' - _TOKEN_AUTH = 'keystone.token_auth' - _TOKEN_INFO = 'keystone.token_info' + _TOKEN_AUTH = 'keystone.token_auth' # nosec + _TOKEN_INFO = 'keystone.token_info' # nosec _CONFIRMED = 'Confirmed' _INVALID = 'Invalid'