Fix write.py to do imports from gen.db
svn: r13148
This commit is contained in:
parent
5e7155ba88
commit
00d6b8cd50
@ -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 *
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user