summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-08-20 11:26:13 -0300
committerdrebs <drebs@leap.se>2015-08-20 11:26:45 -0300
commit350dcff39721a6c94b597ce8191fb58d47308eca (patch)
tree7d557226571c150876184e39f9d5c3135d317987 /client/src/leap/soledad
parentee9ab32cd3cbe6a4fa73401a45faff6a36d16acf (diff)
[bug] return tuple in get_sync_info
Tests actually expect a tuple instead of a list on the return value of get_sync_info().
Diffstat (limited to 'client/src/leap/soledad')
-rw-r--r--client/src/leap/soledad/client/http_target.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/http_target.py b/client/src/leap/soledad/client/http_target.py
index ca901633..cfc2247c 100644
--- a/client/src/leap/soledad/client/http_target.py
+++ b/client/src/leap/soledad/client/http_target.py
@@ -259,13 +259,13 @@ class SoledadHTTPSyncTarget(SyncTarget):
"""
raw = yield self._http_request(self._url, headers=self._auth_header)
res = json.loads(raw)
- defer.returnValue([
+ defer.returnValue((
res['target_replica_uid'],
res['target_replica_generation'],
res['target_replica_transaction_id'],
res['source_replica_generation'],
res['source_transaction_id']
- ])
+ ))
def record_sync_info(
self, source_replica_uid, source_replica_generation,