summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-10-02 12:03:29 -0400
committerKali Kaneko <kali@leap.se>2015-10-02 12:35:14 -0400
commit234e5879188fe100bf99b9ef6f252abff06b4dad (patch)
tree743cf65b49006afb119b1adc3f0049fcde8f289b /client
parent2f1db98804e85cdba362192af0530ad3dfdcafc3 (diff)
[bug] do not signal sync completion if failed
- Related: #7503
Diffstat (limited to 'client')
-rw-r--r--client/changes/bug_7503-do-not-signal-sync-complete1
-rw-r--r--client/src/leap/soledad/client/api.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/client/changes/bug_7503-do-not-signal-sync-complete b/client/changes/bug_7503-do-not-signal-sync-complete
new file mode 100644
index 00000000..4cc361e0
--- /dev/null
+++ b/client/changes/bug_7503-do-not-signal-sync-complete
@@ -0,0 +1 @@
+o Do not signal sync completion if sync failed. Closes: #7503
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index a558addd..8c5f7f1b 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -723,7 +723,7 @@ class Soledad(object):
return passthrough
d.addCallbacks(_sync_callback, _sync_errback)
- d.addBoth(_emit_done_data_sync)
+ d.addCallback(_emit_done_data_sync)
return d
@property