From eb510527db70ea589257a970bf5663fdbd6f2d4a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 18 May 2006 16:08:56 +0000 Subject: [PATCH] fix ansel detection svn: r6710 --- ChangeLog | 2 ++ src/GrampsDb/_ReadGedcom.py | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55092ae79..e85155643 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2006-05-18 Don Allingham + * src/GrampsDb/_ReadGedcom.py: fix parsing level so that CHAR is not + skipped * src/glade/gramps.glade: fix media ref dialog with warn box * src/Filters/_PersonSidebarFilter.py (PersonSidebarFilter.clear): fix clearing of combobox diff --git a/src/GrampsDb/_ReadGedcom.py b/src/GrampsDb/_ReadGedcom.py index c03204043..1b184aaca 100644 --- a/src/GrampsDb/_ReadGedcom.py +++ b/src/GrampsDb/_ReadGedcom.py @@ -1780,7 +1780,7 @@ class GedcomParser(UpdateCallback): elif matches[1] == TOKEN_COPR: self.def_src.set_publication_info(matches[2]) elif matches[1] == TOKEN_SUBM: - self.parse_subm(1) + self.parse_subm(2) elif matches[1] in (TOKEN_CORP,TOKEN_DATA,TOKEN_SUBN,TOKEN_LANG): self.ignore_sub_junk(2) elif matches[1] == TOKEN_DEST: @@ -2060,11 +2060,9 @@ class GedcomParser(UpdateCallback): self.parse_name(name,2,state) def func_person_asso(self, matches, state): - print matches gid = matches[2] handle = self.find_person_handle(self.map_gid(gid[1:-1])) ref = RelLib.PersonRef() - print handle ref.ref = handle self.person.add_person_ref(ref)