From 51005c034255ec6766ff5fe804d30e0c385dfdfc Mon Sep 17 00:00:00 2001 From: Asharma-bhavna Date: Mon, 1 Feb 2021 19:27:07 +0530 Subject: [PATCH] Bugs identified during flake8 testing --- awx/main/credential_plugins/centrify_vault.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/awx/main/credential_plugins/centrify_vault.py b/awx/main/credential_plugins/centrify_vault.py index 76ded50016..5e71b23d4d 100644 --- a/awx/main/credential_plugins/centrify_vault.py +++ b/awx/main/credential_plugins/centrify_vault.py @@ -2,7 +2,6 @@ from .plugin import CredentialPlugin, raise_for_status from django.utils.translation import ugettext_lazy as _ from urllib.parse import urljoin import requests -import base64 pas_inputs = { 'fields': [{ 'id': 'url', @@ -40,7 +39,6 @@ pas_inputs = { # generate bearer token to authenticate with PAS portal, Input : Client ID, Client Secret def handle_auth(**kwargs): - tokens = None post_data = { "grant_type": "client_credentials", "scope":"siem"