diff options
Diffstat (limited to 'python/config.py')
-rw-r--r-- | python/config.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/config.py b/python/config.py index e7e69ea..479f165 100644 --- a/python/config.py +++ b/python/config.py @@ -19,6 +19,16 @@ import os.path import configparser class ConfigManager: + """ + Simple configuration manager + + This expects TOREE_GATEWAY_HOME environment variable + to be set and will look for the config file in + TOREE_GATEWAY_HOME/conf/toree-gateway.properties + + In dev environment, it will fallback to reading + the config file + """ config = configparser.RawConfigParser() homePath = os.getcwd()[:-7] configPath = None |