summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/couch/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/couch/state.py')
-rw-r--r--common/src/leap/soledad/common/couch/state.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/leap/soledad/common/couch/state.py b/common/src/leap/soledad/common/couch/state.py
index 40c0d55b..4f07c105 100644
--- a/common/src/leap/soledad/common/couch/state.py
+++ b/common/src/leap/soledad/common/couch/state.py
@@ -133,10 +133,10 @@ class CouchServerState(ServerState):
"""
with couch_server(self.couch_url) as server:
# the tokens db rotates every 30 days, and the current db name is
- # "tokens_NNN", where NNN is the number of seconds since epoch divided
- # by the rotate period in seconds. When rotating, old and new tokens
- # db coexist during a certain window of time and valid tokens are
- # replicated from the old db to the new one. See:
+ # "tokens_NNN", where NNN is the number of seconds since epoch
+ # divide dby the rotate period in seconds. When rotating, old and
+ # new tokens db coexist during a certain window of time and valid
+ # tokens are replicated from the old db to the new one. See:
# https://leap.se/code/issues/6785
dbname = self._tokens_dbname()
db = server[dbname]