From 38ebeab163d7cc3c09748376534a6e6d4f820433 Mon Sep 17 00:00:00 2001 From: Jeremy Heffner Date: Thu, 20 Aug 2015 15:45:53 -0700 Subject: [PATCH] Refactoring.. with pep8 fixes --- lemur/manage.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lemur/manage.py b/lemur/manage.py index f30fd4af..6e50e606 100755 --- a/lemur/manage.py +++ b/lemur/manage.py @@ -537,7 +537,7 @@ class ProvisionELB(Command): from lemur.certificates.views import valid_authority - authority=valid_authority({"name": authority}) + authority = valid_authority({"name": authority}) options = { 'destinations': destinations, @@ -557,8 +557,7 @@ class ProvisionELB(Command): return options - - def run(self, dns, elb, owner, authority, description, notifications): + def run(self, dns, elb, owner, authority, description, notifications, destinations): from lemur.certificates import service # configure the owner if we can find it, or go for default, and put it in the global @@ -572,7 +571,7 @@ class ProvisionELB(Command): sys.stdout.write("cert options: {}\n".format(cert_options)) # create the certificate - cert = service.create( **cert_options ) + cert = service.create(**cert_options) sys.stdout.write("cert {}".format(cert))