From f1c09a6f8f8f7c66d66b0d2c85cfa4420b200d00 Mon Sep 17 00:00:00 2001 From: alwaysjolley Date: Thu, 7 Mar 2019 15:58:34 -0500 Subject: [PATCH] fixed comments --- lemur/plugins/lemur_vault_dest/plugin.py | 4 ++-- lemur/plugins/lemur_vault_dest/tests/conftest.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 lemur/plugins/lemur_vault_dest/tests/conftest.py diff --git a/lemur/plugins/lemur_vault_dest/plugin.py b/lemur/plugins/lemur_vault_dest/plugin.py index 5924f387..2f2a2e82 100644 --- a/lemur/plugins/lemur_vault_dest/plugin.py +++ b/lemur/plugins/lemur_vault_dest/plugin.py @@ -134,7 +134,7 @@ def get_secret(url, token, mount, path): try: client = hvac.Client(url=url, token=token) result = client.secrets.kv.v1.read_secret(path=path, mount_point=mount) - #except ConnectionError: - # pass + except ConnectionError: + pass finally: return result diff --git a/lemur/plugins/lemur_vault_dest/tests/conftest.py b/lemur/plugins/lemur_vault_dest/tests/conftest.py new file mode 100644 index 00000000..0e1cd89f --- /dev/null +++ b/lemur/plugins/lemur_vault_dest/tests/conftest.py @@ -0,0 +1 @@ +from lemur.tests.conftest import * # noqa