From 6ce8c9b6084d37501386e40cdb242dcb8bb00d3a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 7 Dec 2011 18:33:43 +0900 Subject: [PATCH] drop tags from sanity check Since we rely on fixIntegrity() to garbage-collect tags and don't try to add unused ones to the graves, after a check the tag counts will fall out of sync. --- anki/sync.py | 1 - 1 file changed, 1 deletion(-) diff --git a/anki/sync.py b/anki/sync.py index 6a7898744..9667a42e6 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -148,7 +148,6 @@ select count() from notes where id not in (select distinct nid from cards)""") self.col.db.scalar("select count() from revlog"), self.col.db.scalar("select count() from graves"), len(self.col.models.all()), - len(self.col.tags.all()), len(self.col.decks.all()), len(self.col.decks.allConf()), ]