summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/soledad/soledadbootstrapper.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-03-09 14:39:46 +0100
committerKali Kaneko <kali@leap.se>2015-03-09 14:28:50 -0400
commite59e47675e92115f6c98b13cae518ede22e935eb (patch)
treecc07c5f72d0c9d9a522be68f6b2321372de5f3cd /src/leap/bitmask/services/soledad/soledadbootstrapper.py
parent73b4418cec69cdfdda27c150155f8cfee16e7e55 (diff)
[bug] Use Deferred.errback
The code was using 'fail' which is not a Deferred method. - Resolves: #6772
Diffstat (limited to 'src/leap/bitmask/services/soledad/soledadbootstrapper.py')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
index 879ed1d0..6cb4c116 100644
--- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py
+++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
@@ -673,5 +673,5 @@ class Syncer(object):
self._try_sync()
else:
logger.error("Sync failed {0} times".format(self._tries))
- self._callback_deferred.fail(
+ self._callback_deferred.errback(
SoledadSyncError("Too many retries"))