From 417d471690fa92dbb5c1dc147ae31c56b2444ee0 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 10 May 2007 21:57:45 +0000 Subject: [PATCH] 2007-05-10 Benny Malengier Correct error in person name privacy svn: r8458 --- ChangeLog | 3 ++- src/GrampsDb/_ReadXML.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 614b13dd7..7a97163bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ -2007-05-09 Benny Malengier +2007-05-10 Benny Malengier * src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family, media, source, place and repo correct. Still to do: sourceref and lds_ordinance + Correct error in person name privacy 2007-05-10 Martin Hawlisch * src/DataViews/_PedigreeView.py: Some rendering fixes for RTL locales diff --git a/src/GrampsDb/_ReadXML.py b/src/GrampsDb/_ReadXML.py index d880aff35..f148a6b86 100644 --- a/src/GrampsDb/_ReadXML.py +++ b/src/GrampsDb/_ReadXML.py @@ -1067,7 +1067,7 @@ class GrampsParser(UpdateCallback): self.name.set_type(RelLib.NameType.UNKNOWN) else: self.name.type.set_from_xml_str(name_type) - self.name.set_private = bool(attrs.get("priv")) + self.name.private = bool(attrs.get("priv")) self.alt_name = bool(attrs.get("alt")) try: sort_as = int(attrs["sort"])