svn: r7950
This commit is contained in:
parent
2d0c2bed65
commit
9baee52474
@ -54,7 +54,6 @@ import GrampsDb
|
|||||||
import Utils
|
import Utils
|
||||||
from PluginUtils import import_list
|
from PluginUtils import import_list
|
||||||
import QuestionDialog
|
import QuestionDialog
|
||||||
from Errors import GrampsDbException
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -418,7 +417,7 @@ class DbLoader:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
dbclass = GrampsDb.gramps_db_factory(db_type = filetype)
|
dbclass = GrampsDb.gramps_db_factory(db_type = filetype)
|
||||||
except GrampsDbException, msg:
|
except GrampsDb.GrampsDbException, msg:
|
||||||
QuestionDialog.ErrorDialog(
|
QuestionDialog.ErrorDialog(
|
||||||
_("Could not open file: %s") % filename,
|
_("Could not open file: %s") % filename,
|
||||||
_("This may be caused by an improper installation of GRAMPS.") +
|
_("This may be caused by an improper installation of GRAMPS.") +
|
||||||
|
@ -2298,7 +2298,6 @@ if gtk.pygtk_version < (2,8,0):
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
from RelLib import Date
|
|
||||||
from DateHandler import parser
|
from DateHandler import parser
|
||||||
|
|
||||||
def on_validate(widget, text):
|
def on_validate(widget, text):
|
||||||
|
Loading…
Reference in New Issue
Block a user