Azure-Dest: Linted
This commit is contained in:
parent
62230228a7
commit
48302b6acc
|
@ -9,14 +9,11 @@
|
||||||
|
|
||||||
.. moduleauthor:: sirferl
|
.. moduleauthor:: sirferl
|
||||||
"""
|
"""
|
||||||
import os
|
|
||||||
import re
|
|
||||||
from flask import current_app
|
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.common.utils import parse_certificate, parse_private_key
|
||||||
from lemur.plugins.bases import DestinationPlugin
|
from lemur.plugins.bases import DestinationPlugin
|
||||||
from lemur.plugins.bases import SourcePlugin
|
|
||||||
|
|
||||||
from cryptography.hazmat.primitives import serialization
|
from cryptography.hazmat.primitives import serialization
|
||||||
import requests
|
import requests
|
||||||
|
@ -139,7 +136,6 @@ class AzureDestinationPlugin(DestinationPlugin):
|
||||||
self.session = requests.Session()
|
self.session = requests.Session()
|
||||||
super(AzureDestinationPlugin, self).__init__(*args, **kwargs)
|
super(AzureDestinationPlugin, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def upload(self, name, body, private_key, cert_chain, options, **kwargs):
|
def upload(self, name, body, private_key, cert_chain, options, **kwargs):
|
||||||
"""
|
"""
|
||||||
Upload certificate and private key
|
Upload certificate and private key
|
||||||
|
|
Loading…
Reference in New Issue