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 read import *
|
||||||
from cursor import *
|
from cursor import *
|
||||||
from bsddbtxn import *
|
from bsddbtxn import *
|
||||||
from write import *
|
from txn import *
|
||||||
|
from undoredo import *
|
||||||
from exceptions 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,
|
from gen.lib import (GenderStats, Person, Family, Event, Place, Source,
|
||||||
MediaObject, Repository, Note)
|
MediaObject, Repository, Note)
|
||||||
from gen.db import (GrampsDbRead, BSDDBTxn)
|
from gen.db import (GrampsDbRead, BSDDBTxn, GrampsDbTxn, GrampsCursor,
|
||||||
from txn import GrampsDbTxn
|
FileVersionError, FileVersionDeclineToUpgrade,
|
||||||
from undoredo import GrampsDbUndoBSDDB as GrampsDbUndo
|
GrampsDbUndoBSDDB as GrampsDbUndo)
|
||||||
from gen.db.dbconst import *
|
from gen.db.dbconst import *
|
||||||
from gen.utils.callback import Callback
|
from gen.utils.callback import Callback
|
||||||
from BasicUtils import UpdateCallback
|
from BasicUtils import UpdateCallback
|
||||||
from gen.db.cursor import GrampsCursor
|
|
||||||
from gen.db.exceptions import FileVersionError, FileVersionDeclineToUpgrade
|
|
||||||
import Errors
|
import Errors
|
||||||
from QuestionDialog import QuestionDialog2
|
from QuestionDialog import QuestionDialog2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user