From 26470c997e33060c0266fc38df0593ba9d1f0ec7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 15 Nov 2010 14:07:13 +0900 Subject: [PATCH] remove unused where clause from rebuildTypes() --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index afa5a0a2a..08dbbedf4 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -350,7 +350,7 @@ Card info: %d %d %d""" % (self.failedSoonCount, self.revCount, self.newCountToda "priority desc, combinedDue", "priority desc, combinedDue desc")[self.newCardOrder] - def rebuildTypes(self, where=""): + def rebuildTypes(self): "Rebuild the type cache. Only necessary on upgrade." lim = "type >= 0" # don't touch suspended cards if where: