From 92a89427274de3c6ed536e2691183f2469bb5548 Mon Sep 17 00:00:00 2001 From: Ilya Makarov Date: Wed, 11 Mar 2020 15:37:11 +0300 Subject: [PATCH] Fix lint --- lemur/plugins/lemur_vault_dest/plugin.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lemur/plugins/lemur_vault_dest/plugin.py b/lemur/plugins/lemur_vault_dest/plugin.py index 977f476e..6a1cd074 100755 --- a/lemur/plugins/lemur_vault_dest/plugin.py +++ b/lemur/plugins/lemur_vault_dest/plugin.py @@ -289,10 +289,10 @@ class VaultDestinationPlugin(DestinationPlugin): t_path = path.format( CN=cname, OU=organizational_unit(cert), - O=organization(cert), + O=organization(cert), # noqa: E741 L=location(cert), S=state(cert), - C=country(cert) + C=country(cert), ) if not obj_name: obj_name = '{CN}' @@ -300,14 +300,13 @@ class VaultDestinationPlugin(DestinationPlugin): f_obj_name = obj_name.format( CN=cname, OU=organizational_unit(cert), - O=organization(cert), + O=organization(cert), # noqa: E741 L=location(cert), S=state(cert), - C=country(cert) + C=country(cert), ) path = "{0}/{1}".format(t_path, f_obj_name) - # TODO: obj_name support for vars secret = get_secret(client, mount, path) secret["data"][cname] = {}