From 1510ab8615b9d048ef720a4ae1ddc7189138956f Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Thu, 9 May 2019 09:23:25 -0400 Subject: [PATCH] Fix bandit warning Ignore a bandit B105 warning (hardcoded_password_string) as there is a false positive in the xenapi_root_helper code. Change-Id: Icb97ae49df0e138d30d8baf2da1b61165adac107 --- neutron/agent/linux/xenapi_root_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/agent/linux/xenapi_root_helper.py b/neutron/agent/linux/xenapi_root_helper.py index 67f6d506d4d..9274dc7e493 100644 --- a/neutron/agent/linux/xenapi_root_helper.py +++ b/neutron/agent/linux/xenapi_root_helper.py @@ -32,7 +32,7 @@ from oslo_serialization import jsonutils from neutron.conf.agent import xenapi_conf -ROOT_HELPER_DAEMON_TOKEN = 'xenapi_root_helper' +ROOT_HELPER_DAEMON_TOKEN = 'xenapi_root_helper' # nosec RC_UNKNOWN_XENAPI_ERROR = 80 MSG_UNAUTHORIZED = "Unauthorized command"