From 350dcff39721a6c94b597ce8191fb58d47308eca Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 20 Aug 2015 11:26:13 -0300 Subject: [bug] return tuple in get_sync_info Tests actually expect a tuple instead of a list on the return value of get_sync_info(). --- client/src/leap/soledad/client/http_target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src') 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, -- cgit v1.2.3