diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-03-13 13:03:19 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-03-13 13:03:19 -0300 |
commit | 5bd6a2633ea5eb960562e879955417d4f80ef738 (patch) | |
tree | 330439190f1dcaf7fd486310c32670ad2d4193cc /client/src/leap | |
parent | 30e71705d564b571f0e594a5f98a0f320afc7cc9 (diff) |
[docs] explain sync bypass due lack of token
Diffstat (limited to 'client/src/leap')
-rw-r--r-- | client/src/leap/soledad/client/api.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |