summaryrefslogtreecommitdiff
path: root/src/leap/base/config.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-11 03:00:41 +0900
committerkali <kali@leap.se>2013-01-11 03:00:41 +0900
commit6d85c97ddcc8a151b157919e9a7322fba151a551 (patch)
tree09df82613de44109352074dcf719e4c7b659a91c /src/leap/base/config.py
parentf55dcd717a946651492142ed198853b1c667254b (diff)
all calls except the first one are made to api uri
we also parse the port number
Diffstat (limited to 'src/leap/base/config.py')
-rw-r--r--src/leap/base/config.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py
index 438d1993..e235e5c3 100644
--- a/src/leap/base/config.py
+++ b/src/leap/base/config.py
@@ -155,7 +155,7 @@ class JSONLeapConfig(BaseLeapConfig):
return False
def load(self, fromfile=None, from_uri=None, fetcher=None,
- force_download=False, verify=False):
+ force_download=False, verify=True):
if from_uri is not None:
fetched = self.fetch(
@@ -177,8 +177,7 @@ class JSONLeapConfig(BaseLeapConfig):
if not fetcher:
fetcher = self.fetcher
- logger.debug('verify: %s', verify)
- logger.debug('uri: %s', uri)
+ logger.debug('uri: %s (verify: %s)' % (uri, verify))
rargs = (uri, )
rkwargs = {'verify': verify}