Make comment for SyncCollectionHandler.removed() less confusing
This commit is contained in:
parent
7f551f47f7
commit
316e553681
@ -137,8 +137,9 @@ class SyncCollectionHandler(anki.sync.Syncer):
|
|||||||
def finish(self, mod=None):
|
def finish(self, mod=None):
|
||||||
return anki.sync.Syncer.finish(self, anki.utils.intTime(1000))
|
return anki.sync.Syncer.finish(self, anki.utils.intTime(1000))
|
||||||
|
|
||||||
# Syncer.removed() doesn't use self.usnLim() in queries, so we have to
|
# This function had to be put here in its entirety because Syncer.removed()
|
||||||
# replace "usn=-1" by hand
|
# doesn't use self.usnLim() (which we override in this class) in queries.
|
||||||
|
# "usn=-1" has been replaced with "usn >= ?", self.minUsn by hand.
|
||||||
def removed(self):
|
def removed(self):
|
||||||
cards = []
|
cards = []
|
||||||
notes = []
|
notes = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user