diff options
author | kali <kali@leap.se> | 2012-09-21 06:44:19 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-21 06:44:19 +0900 |
commit | a38e61691a79b20199cdedf23f60a5760bba7a06 (patch) | |
tree | 9677a2b6c64db1cad0d9e8f0ddf6764f5a6befe9 /src/leap/base/config.py | |
parent | d1ebe98239fbc2baffa345558d396fa539e79202 (diff) |
add property to baseconfig
config instead of get_config()
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r-- | src/leap/base/config.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py index 76fbee3c..79185976 100644 --- a/src/leap/base/config.py +++ b/src/leap/base/config.py @@ -38,13 +38,9 @@ class BaseLeapConfig(object): def get_config(self, *kwargs): raise NotImplementedError("abstract base class") - #XXX todo: enable this property after - #fixing name clash with "config" in use at - #vpnconnection - - #@property - #def config(self): - #return self.get_config() + @property + def config(self): + return self.get_config() def get_value(self, *kwargs): raise NotImplementedError("abstract base class") |