Faster GEDCOM imports, source lists

svn: r448
This commit is contained in:
Don Allingham
2001-10-06 18:25:31 +00:00
parent 17ab259c4a
commit ebe4af348d
18 changed files with 738 additions and 560 deletions

View File

@@ -150,7 +150,7 @@ def get_detail_flags(obj):
if Config.show_detail:
if obj.getNote() != "":
detail = "N"
if obj.getSourceRef().getBase():
if len(obj.getSourceRefList()) > 0:
detail = detail + "S"
if obj.getPrivacy():
detail = detail + "P"
@@ -166,7 +166,7 @@ def get_detail_text(obj):
details = "%s" % _("Note")
else:
details = ""
if obj.getSourceRef().getBase() != None:
if len(obj.getSourceRefList()) > 0:
if details == "":
details = _("Source")
else: