From 8834ae9181134020bab77244afc752527bcb6fbe Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 11 May 2017 20:40:55 +0200 Subject: [bug] make global the provider bootstrap deferreds - Resolves: #8884 --- src/leap/bitmask/bonafide/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/leap/bitmask/bonafide/config.py b/src/leap/bitmask/bonafide/config.py index 82442c8..7db6260 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 -- cgit v1.2.3