summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-22 12:26:32 +0200
committerKali Kaneko <kali@leap.se>2013-08-22 12:26:32 +0200
commit83481cf896befd981482def1b84c701bd62ee023 (patch)
treed31963e9970c977ea222a30e612e7c3b963af126 /src/leap/bitmask/services
parent8b19f78391ec575cbc9ee0d45bca9e00e141fe5d (diff)
parentd6bcf278e8257460f68ca86a20bfa278ac436c1f (diff)
Merge remote-tracking branch 'chiiph/bug/properly_logout' into develop
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
index a481df4e..2419fc0d 100644
--- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py
+++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
@@ -89,6 +89,9 @@ class SoledadBootstrapper(AbstractBootstrapper):
# retries
+ def cancel_bootstrap(self):
+ self._soledad_retries = self.MAX_INIT_RETRIES
+
def should_retry_initialization(self):
"""
Returns True if we should retry the initialization.