summaryrefslogtreecommitdiff
path: root/src/leap/services/__init__.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-06-28 13:18:15 -0300
committerTomás Touceda <chiiph@leap.se>2013-06-28 13:18:15 -0300
commit4785877270da1702aa3a4a170a62baa494eb35fa (patch)
tree3109f1edc3a3648b37f9ccd93f9eb9e3db16e6a8 /src/leap/services/__init__.py
parent90c4d00b63edb379e5b0101ad870b528328247b1 (diff)
parent32b6afae6eb66cd75608b26aecd86bbfc587736e (diff)
Merge remote-tracking branch 'ivan/bug/3032_supported-services-fix' into develop
Diffstat (limited to 'src/leap/services/__init__.py')
-rw-r--r--src/leap/services/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/services/__init__.py b/src/leap/services/__init__.py
index 70a5dcf2..fc4aa416 100644
--- a/src/leap/services/__init__.py
+++ b/src/leap/services/__init__.py
@@ -17,10 +17,10 @@
"""
Services module.
"""
-NOT_YET_DEPLOYED = ["mx"] # for 0.2.2 release
+DEPLOYED = ["openvpn"] # for 0.2.2 release
-def get_available(services):
+def get_supported(services):
"""
Returns a list of the available services.
@@ -30,4 +30,4 @@ def get_available(services):
:returns: a list of the available services
:rtype: list of str
"""
- return filter(lambda s: s not in NOT_YET_DEPLOYED, services)
+ return filter(lambda s: s in DEPLOYED, services)