Skip to content
Snippets Groups Projects
Commit ea3b2421 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Fix syntax error

parent 182ec40f
No related branches found
No related tags found
No related merge requests found
__version__ = '0.1.16' __version__ = '0.1.17'
from common_config.common import * from common_config.common import *
\ No newline at end of file
...@@ -54,7 +54,7 @@ def get_config_directories() -> List[dict]: ...@@ -54,7 +54,7 @@ def get_config_directories() -> List[dict]:
] ]
# If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list # If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list
key = f"{APPLICATION_NAME.upper().replace("-", "_").replace(" ", "_")}_CONFIG_DIR" key = f"{APPLICATION_NAME.upper().replace('-', '_').replace(' ', '_')}_CONFIG_DIR"
env_key = os.getenv(key) env_key = os.getenv(key)
if env_key is not None: if env_key is not None:
env_dir = { "path": Path(env_key), "kind": "env", "source": key } env_dir = { "path": Path(env_key), "kind": "env", "source": key }
...@@ -77,7 +77,7 @@ def get_potential_config_file_paths(suffix: str) -> List[dict]: ...@@ -77,7 +77,7 @@ def get_potential_config_file_paths(suffix: str) -> List[dict]:
config_paths.append(path) config_paths.append(path)
# If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list # If the EIGENSERVICE_CONFIG_PATH environment variable exists append to list
key = f"{APPLICATION_NAME.upper().replace("-", "_").replace(" ", "_")}_CONFIG_PATH" key = f"{APPLICATION_NAME.upper().replace('-', '_').replace(' ', '_')}_CONFIG_PATH"
env_key = os.getenv(key) env_key = os.getenv(key)
if env_key is not None: if env_key is not None:
env_path = { "path": Path(env_key), "kind": "env", "source": key } env_path = { "path": Path(env_key), "kind": "env", "source": key }
......
[tool.poetry] [tool.poetry]
name = "common-config" name = "common-config"
version = "0.1.16" version = "0.1.17"
description = "A config library for eigenservice" description = "A config library for eigenservice"
authors = ["David Huss <dh@atoav.com>"] authors = ["David Huss <dh@atoav.com>"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment