mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
remove some dead code thanks to richard
This commit is contained in:
parent
d06dccad32
commit
056dd4d68e
2 changed files with 0 additions and 3 deletions
|
@ -269,7 +269,6 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
|
|||
|
||||
def findTemplates(self, note):
|
||||
"Return (active), non-empty templates."
|
||||
ok = []
|
||||
model = note.model()
|
||||
avail = self.models.availOrds(model, joinFields(note.fields))
|
||||
ok = []
|
||||
|
@ -298,7 +297,6 @@ crt=?, mod=?, scm=?, dty=?, usn=?, ls=?, conf=?""",
|
|||
"select id, mid, did, flds from notes where id in "+snids):
|
||||
model = self.models.get(mid)
|
||||
avail = self.models.availOrds(model, flds)
|
||||
ok = []
|
||||
for t in model['tmpls']:
|
||||
doHave = nid in have and t['ord'] in have[nid]
|
||||
# if have ord but empty, add cid to remove list
|
||||
|
|
|
@ -151,7 +151,6 @@ class TagManager(object):
|
|||
##########################################################################
|
||||
|
||||
def selTagNids(self, yes, no):
|
||||
l = []
|
||||
# find notes that match yes
|
||||
lim = ""
|
||||
args = []
|
||||
|
|
Loading…
Reference in a new issue