Fix write.py to do imports from gen.db

svn: r13148
This commit is contained in:
Gerald Britton 2009-09-01 17:43:54 +00:00
parent 5e7155ba88
commit 00d6b8cd50
2 changed files with 6 additions and 6 deletions

View File

@ -23,5 +23,7 @@ from dbconst import *
from read import *
from cursor import *
from bsddbtxn import *
from write import *
from txn import *
from undoredo import *
from exceptions import *
from write import *

View File

@ -51,14 +51,12 @@ from sys import maxint
#-------------------------------------------------------------------------
from gen.lib import (GenderStats, Person, Family, Event, Place, Source,
MediaObject, Repository, Note)
from gen.db import (GrampsDbRead, BSDDBTxn)
from txn import GrampsDbTxn
from undoredo import GrampsDbUndoBSDDB as GrampsDbUndo
from gen.db import (GrampsDbRead, BSDDBTxn, GrampsDbTxn, GrampsCursor,
FileVersionError, FileVersionDeclineToUpgrade,
GrampsDbUndoBSDDB as GrampsDbUndo)
from gen.db.dbconst import *
from gen.utils.callback import Callback
from BasicUtils import UpdateCallback
from gen.db.cursor import GrampsCursor
from gen.db.exceptions import FileVersionError, FileVersionDeclineToUpgrade
import Errors
from QuestionDialog import QuestionDialog2