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
This commit is contained in:
Brian Haley 2019-05-09 09:23:25 -04:00
parent d0e64c6183
commit 1510ab8615
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ from oslo_serialization import jsonutils
from neutron.conf.agent import xenapi_conf 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 RC_UNKNOWN_XENAPI_ERROR = 80
MSG_UNAUTHORIZED = "Unauthorized command" MSG_UNAUTHORIZED = "Unauthorized command"