summaryrefslogtreecommitdiff
path: root/src/leap/config/providerconfig.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-06-20 10:26:46 +0900
committerkali <kali@leap.se>2013-06-21 02:53:47 +0900
commit4a422c92ae83453807074afca6c2f038823e296f (patch)
tree4c0dbd1adf1962baeb248de4c79616462dba8c99 /src/leap/config/providerconfig.py
parent5a24038bc1956ffcd0602a9a65cecbd76b88ccce (diff)
hide mx until we integrate it
Closes: #2938
Diffstat (limited to 'src/leap/config/providerconfig.py')
-rw-r--r--src/leap/config/providerconfig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/config/providerconfig.py b/src/leap/config/providerconfig.py
index 6bbd7422..94568c27 100644
--- a/src/leap/config/providerconfig.py
+++ b/src/leap/config/providerconfig.py
@@ -24,6 +24,7 @@ import os
from leap.common.check import leap_assert
from leap.common.config.baseconfig import BaseConfig, LocalizedKey
from leap.config.provider_spec import leap_provider_spec
+from leap.services import get_available
logger = logging.getLogger(__name__)
@@ -32,7 +33,6 @@ class ProviderConfig(BaseConfig):
"""
Provider configuration abstraction class
"""
-
def __init__(self):
BaseConfig.__init__(self)
@@ -86,7 +86,8 @@ class ProviderConfig(BaseConfig):
:rtype: list
"""
- return self._safe_get_value("services")
+ services = get_available(self._safe_get_value("services"))
+ return services
def get_services_string(self):
"""