diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-06 17:20:54 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-06 17:20:54 -0300 |
commit | 8f57fbc04d2fa224a5a3fb4560da7ef9b91c202c (patch) | |
tree | 02dce93d0072287e01cb73d6d4fce1680c68be94 /src/leap/services/eip/eipbootstrapper.py | |
parent | d6bf9b3e11ff87488a5f508acebf8f20ad026166 (diff) | |
parent | d5ea34c797e56b05fc54a186cf6c998e036f4ed0 (diff) |
Merge remote-tracking branch 'ivan/feature/3310_add-support-for-multiple-schemas' into develop
Diffstat (limited to 'src/leap/services/eip/eipbootstrapper.py')
-rw-r--r-- | src/leap/services/eip/eipbootstrapper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/services/eip/eipbootstrapper.py b/src/leap/services/eip/eipbootstrapper.py index 60270b5b..1d7bc342 100644 --- a/src/leap/services/eip/eipbootstrapper.py +++ b/src/leap/services/eip/eipbootstrapper.py @@ -67,7 +67,9 @@ class EIPBootstrapper(AbstractBootstrapper): logger.debug("Downloading EIP config for %s" % (self._provider_config.get_domain(),)) + api_version = self._provider_config.get_api_version() self._eip_config = EIPConfig() + self._eip_config.set_api_version(api_version) headers = {} mtime = get_mtime(os.path.join(self._eip_config @@ -84,7 +86,7 @@ class EIPBootstrapper(AbstractBootstrapper): # it's in 1/config/eip, config/eip and config/1/eip... config_uri = "%s/%s/config/eip-service.json" % ( self._provider_config.get_api_uri(), - self._provider_config.get_api_version()) + api_version) logger.debug('Downloading eip config from: %s' % config_uri) res = self._session.get(config_uri, |