diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-03-26 14:52:14 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-15 15:00:08 -0300 |
commit | c9ce042921d4da8825db4580e27cac4bf74280c3 (patch) | |
tree | 3febf7744df5e2dabf4b7e7332f0cdfdb28e9dea /src/leap/bitmask | |
parent | dae03c6f8eeeee7ed573b9b829032a7eea766bf1 (diff) |
Use helper to get the ProviderConfig.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/backend.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py index d78a9a6a..2d86bf09 100644 --- a/src/leap/bitmask/backend.py +++ b/src/leap/bitmask/backend.py @@ -387,11 +387,8 @@ class EIP(object): :returns: the defer for the operation running in a thread. :rtype: twisted.internet.defer.Deferred """ - if (not self._provider_config.loaded() or - self._provider_config.get_domain() != domain): - self._provider_config.load(get_provider_path(domain)) - - if self._provider_config.loaded(): + config = self._provider_config + if get_provider_config(config, domain): log.msg("") eb = self._eip_bootstrapper d = eb.run_eip_setup_checks(self._provider_config, |