"fix" v1 scheduler breaking after burySiblings change

This commit is contained in:
Damien Elmes 2020-06-01 19:44:19 +10:00
parent cec5a260e5
commit 5729e9e336

View file

@ -848,7 +848,9 @@ did = ?, queue = %s, due = ?, usn = ? where id = ?"""
self.col.usn(),
)
def buryCards(self, cids: List[int]) -> None: # type: ignore[override]
def buryCards(self, cids: List[int], manual: bool = False) -> None:
# v1 only supported automatic burying
assert not manual
self.col.log(cids)
self.remFromDyn(cids)
self.removeLrn(cids)