summaryrefslogtreecommitdiff
path: root/src/leap/base/providers.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-29 23:05:38 +0900
committerkali <kali@leap.se>2012-08-29 23:05:38 +0900
commited4ad3a392caf0211e51a48d2d7b6c5a2f7bb17a (patch)
tree55958957a27f3784aef99f122673852becb4c1c2 /src/leap/base/providers.py
parent63c0b7aa3ded55426a834d0a5947fff798894c6b (diff)
add eipconfig spec and config object
Diffstat (limited to 'src/leap/base/providers.py')
-rw-r--r--src/leap/base/providers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/base/providers.py b/src/leap/base/providers.py
index 71ccf139..677dd6ec 100644
--- a/src/leap/base/providers.py
+++ b/src/leap/base/providers.py
@@ -6,16 +6,16 @@ from leap.base import specs
class LeapProviderDefinition(baseconfig.JSONLeapConfig):
spec = specs.leap_provider_spec
- def get_slug(self):
+ def _get_slug(self):
provider_path = baseconfig.get_default_provider_path()
return baseconfig.get_config_file(
'definition.json',
folder=provider_path)
- def set_slug(self, *args, **kwargs):
+ def _set_slug(self, *args, **kwargs):
raise AttributeError("you cannot set slug")
- slug = property(get_slug, set_slug)
+ slug = property(_get_slug, _set_slug)
# TODO (MVS+)
# we will construct slug from providers/%s/definition.json