diff options
author | kali <kali@leap.se> | 2012-10-20 06:30:16 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-20 06:30:16 +0900 |
commit | f791a83ce57cef7010da819d61e7f5132fa4611e (patch) | |
tree | 52718be680373688738a4d9ce9ea842e7cab0317 /src/leap/base/config.py | |
parent | a1acfd6417beeae312f056f76ac009b80c38654d (diff) |
connecting page
and changes to functions having to do with the default
path to certs.
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r-- | src/leap/base/config.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py index cf01d1aa..9ce2e9f0 100644 --- a/src/leap/base/config.py +++ b/src/leap/base/config.py @@ -252,6 +252,15 @@ def get_default_provider_path(): return default_provider_path +def get_provider_path(domain): + # XXX if not domain, return get_default_provider_path + default_subpath = os.path.join("providers", domain) + provider_path = get_config_file( + '', + folder=default_subpath) + return provider_path + + def validate_ip(ip_str): """ raises exception if the ip_str is |