mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
remove obsolete code
This commit is contained in:
parent
447985fc87
commit
90487d86ad
2 changed files with 1 additions and 4 deletions
|
@ -15,7 +15,7 @@ Model - define the way in which facts are added and shown
|
|||
import time
|
||||
from sqlalchemy.ext.orderinglist import ordering_list
|
||||
from anki.db import *
|
||||
from anki.utils import genID, canonifyTags, safeClassName
|
||||
from anki.utils import genID, canonifyTags
|
||||
from anki.fonts import toPlatformFont
|
||||
from anki.utils import parseTags, hexifyID, checksum
|
||||
from anki.lang import _
|
||||
|
|
|
@ -208,8 +208,5 @@ This is safe if you use sqlite primary key columns, which are guaranteed
|
|||
to be integers."""
|
||||
return "(%s)" % ",".join([str(i) for i in ids])
|
||||
|
||||
def safeClassName(name):
|
||||
return name
|
||||
|
||||
def checksum(data):
|
||||
return md5(data).hexdigest()
|
||||
|
|
Loading…
Reference in a new issue