summaryrefslogtreecommitdiff
path: root/src/leap/config
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-06-20 16:23:32 -0300
committerTomas Touceda <chiiph@leap.se>2013-06-20 16:23:32 -0300
commit4cfe344fceb16d19936fa8d0d2f6bdaa7e747740 (patch)
tree239f1340ebcbc29046c21a6917fcf0bc674c4248 /src/leap/config
parent7fa8d1580fd17a248e24350d30dfc3d9a0d7e322 (diff)
parent4a422c92ae83453807074afca6c2f038823e296f (diff)
Merge remote-tracking branch 'kali/bug/hide-mx' into develop
Diffstat (limited to 'src/leap/config')
-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):
"""