From db5050f860ee392ed93a5fa9393cf2c2f5061bd3 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 18 May 2006 04:40:37 +0000 Subject: [PATCH] * src/GrampsDb/_ReadXML.py (start_childref): Typo. svn: r6705 --- gramps2/ChangeLog | 1 + gramps2/src/GrampsDb/_ReadXML.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e06eddf54..f445f6aab 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-05-17 Alex Roitman + * src/GrampsDb/_ReadXML.py (start_childref): Typo. * src/GrampsDb/_ReadGrdb.py: Add repos, modularize. * src/ViewManager.py: Reorder calls to make work with ArgHandler. diff --git a/gramps2/src/GrampsDb/_ReadXML.py b/gramps2/src/GrampsDb/_ReadXML.py index 0058c42ae..7eee159f9 100644 --- a/gramps2/src/GrampsDb/_ReadXML.py +++ b/gramps2/src/GrampsDb/_ReadXML.py @@ -880,7 +880,7 @@ class GrampsParser(UpdateCallback): if attrs.get('mrel'): mrel.set_from_xml_str(attrs['mrel']) frel = RelLib.ChildRefType() - if attrs.get('mrel'): + if attrs.get('frel'): frel.set_from_xml_str(attrs['frel']) if not mrel.is_default():