summaryrefslogtreecommitdiff
path: root/src/leap/base/config.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-27 23:21:43 +0900
committerkali <kali@leap.se>2012-08-27 23:31:39 +0900
commit4a46723219e5284bec21b9dccd6589a670babc63 (patch)
treeb2d435b0c7e616c91cbf92b185f097985aec041e /src/leap/base/config.py
parente896190d159342d9819f0ad6f11fe01deb8eb9e5 (diff)
add test_dump_default_eipconfig to eip.test_checks
plus a little bit of cleaning around (created constants file). added some notes about inminent deprecation *work in progress*
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r--src/leap/base/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py
index 4d7db018..93a89638 100644
--- a/src/leap/base/config.py
+++ b/src/leap/base/config.py
@@ -162,7 +162,7 @@ def get_groupname():
# json stuff
-# XXX merge with JSONConfig
+# XXX merge with JSONConfig / EIPChecks as appropiate.
def get_config_json(config_file=None):
"""
will replace get_config function be developing them
@@ -236,6 +236,7 @@ class Configuration(object):
except requests.ConnectionError as e:
if e.message == "[Errno 113] No route to host":
if not is_internet_up:
+ # this was meant to be a function invocation I guess...
self.error = "No valid internet connection found"
else:
self.error = "Provider server appears currently down."