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 14:46:41 -0400
commit534263b3e02a5f77d820ec38b0369ac1c4ff6c51 (patch)
tree6b28b83074715d52585749847051eae58ef4b7f9 /client
parent4be6f05d91891122e83f74d21c83c5f8fcd3a618 (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