remove redundant cardHasTag()

This commit is contained in:
Damien Elmes 2011-04-16 01:17:45 +09:00
parent 173379f451
commit aac840f375

View file

@ -503,11 +503,6 @@ where c.fid == f.id
def tagList(self):
return self.db.list("select name from tags order by name")
def cardHasTag(self, card, tag):
tags = self.db.scalar("select tags from fact where id = :fid",
fid=card.fid)
return tag.lower() in parseTags(tags.lower())
def updateFactTags(self, fids=None):
"Add any missing tags to the tags list."
if fids: