restore the ImportInfo to the new Pro-Gen importer

This commit is contained in:
Paul Franklin 2016-12-24 16:22:44 -08:00
parent ebe56a3f05
commit 0b2aab53ee

View File

@ -58,6 +58,7 @@ from gramps.gen.lib import (Address, Attribute, AttributeType, ChildRef, Citatio
Place, PlaceName, Source, SrcAttribute, Surname, Tag)
from gramps.gen.utils.id import create_id
from gramps.gui.utils import ProgressMeter
from gramps.gen.utils.libformatting import ImportInfo
class ProgenError(Exception):
"""
@ -88,6 +89,7 @@ def _importData(database, filename, user):
except IOError as msg:
user.notify_error(_("%s could not be opened") % filename, str(msg))
return
return ImportInfo({_("Results"): _("done")})
def _find_from_handle(progen_id, table):
"""