diff options
author | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-06-28 10:59:56 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-06-28 12:24:22 -0300 |
commit | 8ff98b63c077af25fb58dc73750e7765c35ce2f0 (patch) | |
tree | aeb686b14adf006380911f645f35af5975dc1897 /src/leap/services | |
parent | 90c4d00b63edb379e5b0101ad870b528328247b1 (diff) |
Bugfix: Update available/supported implementation.
Closes bug #3032.
Diffstat (limited to 'src/leap/services')
-rw-r--r-- | src/leap/services/__init__.py | 6 |
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) |