restore the ImportInfo to the new Pro-Gen importer
This commit is contained in:
parent
ebe56a3f05
commit
0b2aab53ee
@ -58,6 +58,7 @@ from gramps.gen.lib import (Address, Attribute, AttributeType, ChildRef, Citatio
|
|||||||
Place, PlaceName, Source, SrcAttribute, Surname, Tag)
|
Place, PlaceName, Source, SrcAttribute, Surname, Tag)
|
||||||
from gramps.gen.utils.id import create_id
|
from gramps.gen.utils.id import create_id
|
||||||
from gramps.gui.utils import ProgressMeter
|
from gramps.gui.utils import ProgressMeter
|
||||||
|
from gramps.gen.utils.libformatting import ImportInfo
|
||||||
|
|
||||||
class ProgenError(Exception):
|
class ProgenError(Exception):
|
||||||
"""
|
"""
|
||||||
@ -88,6 +89,7 @@ def _importData(database, filename, user):
|
|||||||
except IOError as msg:
|
except IOError as msg:
|
||||||
user.notify_error(_("%s could not be opened") % filename, str(msg))
|
user.notify_error(_("%s could not be opened") % filename, str(msg))
|
||||||
return
|
return
|
||||||
|
return ImportInfo({_("Results"): _("done")})
|
||||||
|
|
||||||
def _find_from_handle(progen_id, table):
|
def _find_from_handle(progen_id, table):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user