summaryrefslogtreecommitdiff
path: root/src/leap/config
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-21 10:38:48 -0300
committerkali <kali@leap.se>2013-03-21 23:01:51 +0900
commitbdc3e1b840c383f0d9236ad8d4df66633e87baf5 (patch)
treeea5d871f8d1ea7c6fbd0e113671472e5289f6d43 /src/leap/config
parent3ddf59c1c43b8e481eeb557869a60c2a1b5b6f48 (diff)
Fixes as per review
Diffstat (limited to 'src/leap/config')
-rw-r--r--src/leap/config/leapsettings.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/leap/config/leapsettings.py b/src/leap/config/leapsettings.py
index 4f12b4f8..b728ce15 100644
--- a/src/leap/config/leapsettings.py
+++ b/src/leap/config/leapsettings.py
@@ -23,8 +23,8 @@ import logging
from PySide import QtCore
-from leap.config.prefixers import get_platform_prefixer
from leap.common.check import leap_assert, leap_assert_type
+from leap.config.prefixers import get_platform_prefixer
logger = logging.getLogger(__name__)
@@ -54,6 +54,7 @@ class LeapSettings(object):
settings_path = os.path.join(get_platform_prefixer()
.get_path_prefix(standalone=standalone),
+ "leap",
self.CONFIG_NAME)
self._settings = QtCore.QSettings(settings_path,
QtCore.QSettings.IniFormat)
@@ -156,7 +157,7 @@ class LeapSettings(object):
def set_autologin(self, autologin):
"""
- Sets wether the app should automatically login
+ Sets whether the app should automatically login
@param autologin: True if the app should autologin, False otherwise
@type autologin: bool
@@ -179,8 +180,9 @@ class LeapSettings(object):
"""
Sets wether the app should automatically login
- @param autologin: True if the app should autologin, False otherwise
- @type autologin: bool
+ @param properprovider: True if the provider is properly
+ configured, False otherwise
+ @type properprovider: bool
"""
leap_assert_type(properprovider, bool)
self._settings.setValue(self.PROPERPROVIDER_KEY, properprovider)