Fix Misnamed DbMixin

svn: r13910
This commit is contained in:
Brian Matherly 2009-12-24 20:14:15 +00:00
parent 9aabed5c4f
commit 06b3d7dc1f

View File

@ -47,7 +47,7 @@ from GrampsDbUtils._GedcomParse import GedcomParser
from GrampsDbUtils._GedcomStageOne import StageOne
from QuestionDialog import ErrorDialog, DBErrorDialog
from glade import Glade
from libmixin import GrampsDbMixin
from libmixin import DbMixin
try:
import config
@ -66,8 +66,8 @@ def importData(database, filename, callback=None):
Try to handle ANSEL encoded files that are not really ANSEL encoded
"""
if GrampsDbMixin not in database.__class__.__bases__:
database.__class__.__bases__ = (GrampsDbMixin,) + \
if DbMixin not in database.__class__.__bases__:
database.__class__.__bases__ = (DbMixin,) + \
database.__class__.__bases__
try: