lint cleanup

This commit is contained in:
alwaysjolley 2019-05-07 10:05:01 -04:00
parent fb3f0bd72a
commit b0c8901b0a
1 changed files with 5 additions and 8 deletions

View File

@ -81,7 +81,6 @@ class VaultSourcePlugin(SourcePlugin):
},
]
def get_certificates(self, options, **kwargs):
"""Pull certificates from objects in Hashicorp Vault"""
data = []
@ -106,7 +105,6 @@ class VaultSourcePlugin(SourcePlugin):
secret = get_secret(client, mount, path)
for cname in secret['data']:
#current_app.logger.info("Certificate Data: {0}".format(secret['data'][cname]))
if 'crt' in secret['data'][cname]:
cert = secret['data'][cname]['crt'].split(cert_delimiter + '\n')
elif 'pem' in secret['data'][cname]:
@ -214,7 +212,6 @@ class VaultDestinationPlugin(DestinationPlugin):
}
]
def __init__(self, *args, **kwargs):
super(VaultDestinationPlugin, self).__init__(*args, **kwargs)