From 5bd6a2633ea5eb960562e879955417d4f80ef738 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 13 Mar 2017 13:03:19 -0300 Subject: [docs] explain sync bypass due lack of token --- client/src/leap/soledad/client/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py index cff797bf..c8c3ce30 100644 --- a/client/src/leap/soledad/client/api.py +++ b/client/src/leap/soledad/client/api.py @@ -642,6 +642,9 @@ class Soledad(object): :rtype: twisted.internet.defer.Deferred """ # maybe bypass sync + # TODO: That's because bitmask may not provide us a token, but + # this should be handled on the caller side. Here, calling us without + # a token is a real error. if not self.token: generation = self._dbsyncer.get_generation() return defer.succeed(generation) -- cgit v1.2.3