def freezeCard(self, card, ease): """Freeze cards and push back them to the new queue.""" self.col.log() assert ease >= 1 and ease <= 4 cids = [] cids.append(card.id) Scheduler.forgetCards(self, cids)