get-hc-secrets 1.5.9__tar.gz → 1.5.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/PKG-INFO +1 -1
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/pyproject.toml +1 -1
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/getSecrets/__init__.py +4 -4
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/PKG-INFO +1 -1
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/tests/test_getsecrets.py +2 -2
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/LICENSE +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/README.md +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/setup.cfg +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/SOURCES.txt +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/dependency_links.txt +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/requires.txt +0 -0
- {get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/top_level.txt +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import logging
|
|
2
|
+
import os
|
|
3
|
+
import sys
|
|
2
4
|
from os import getenv
|
|
3
5
|
from os.path import join
|
|
6
|
+
|
|
4
7
|
import requests
|
|
5
8
|
import yaml
|
|
6
|
-
import os
|
|
7
|
-
import sys
|
|
8
|
-
|
|
9
9
|
|
|
10
10
|
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(message)s',
|
|
11
11
|
datefmt='%m/%d/%Y %I:%M:%S %p')
|
|
@@ -15,7 +15,7 @@ _home = getenv("HOME")
|
|
|
15
15
|
|
|
16
16
|
try:
|
|
17
17
|
_config = yaml.safe_load(open(join(_home, _config_file.replace("~/", ''))))
|
|
18
|
-
except FileNotFoundError:
|
|
18
|
+
except (FileNotFoundError, TypeError):
|
|
19
19
|
if not os.path.exists("/etc/vault"):
|
|
20
20
|
os.makedirs("/etc/vault")
|
|
21
21
|
_home = "/etc/vault"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{get_hc_secrets-1.5.9 → get_hc_secrets-1.5.10}/src/get_hc_secrets.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|