Azure-Dest: Linted

This commit is contained in:
sirferl 2020-11-14 13:03:27 +01:00
parent 62230228a7
commit 48302b6acc
1 changed files with 23 additions and 27 deletions

View File

@ -9,14 +9,11 @@
.. moduleauthor:: sirferl
"""
import os
import re
from flask import current_app
from lemur.common.defaults import common_name, country, state, location, organizational_unit, organization
from lemur.common.defaults import common_name
from lemur.common.utils import parse_certificate, parse_private_key
from lemur.plugins.bases import DestinationPlugin
from lemur.plugins.bases import SourcePlugin
from cryptography.hazmat.primitives import serialization
import requests
@ -139,7 +136,6 @@ class AzureDestinationPlugin(DestinationPlugin):
self.session = requests.Session()
super(AzureDestinationPlugin, self).__init__(*args, **kwargs)
def upload(self, name, body, private_key, cert_chain, options, **kwargs):
"""
Upload certificate and private key