summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-05-11 20:40:55 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-12 19:10:00 +0200
commit8834ae9181134020bab77244afc752527bcb6fbe (patch)
tree9fcbc362ecec62fcd90f80e5317ea4cc17f412f3 /src
parentcb1b5fcfd0ab573c9655480cccd0570f72bc3a45 (diff)
[bug] make global the provider bootstrap deferreds
- Resolves: #8884
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/bonafide/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/bitmask/bonafide/config.py b/src/leap/bitmask/bonafide/config.py
index 82442c86..7db6260f 100644
--- a/src/leap/bitmask/bonafide/config.py
+++ b/src/leap/bitmask/bonafide/config.py
@@ -165,6 +165,10 @@ class Provider(object):
log = Logger()
+ first_bootstrap = defaultdict(None)
+ ongoing_bootstrap = defaultdict(None)
+ stuck_bootstrap = defaultdict(None)
+
def __init__(self, domain, autoconf=False, basedir=None,
check_certificate=True):
# TODO: I need a way to know if it was already configured
@@ -175,10 +179,6 @@ class Provider(object):
self._disco = Discovery('https://%s' % domain)
self._provider_config = None
- self.first_bootstrap = defaultdict(None)
- self.ongoing_bootstrap = defaultdict(None)
- self.stuck_bootstrap = defaultdict(None)
-
is_configured = self.is_configured()
if not is_configured:
check_certificate = False