From 114ee7f12e13a9a9ec862646208cbf27c0a925ec Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 19 Jan 2005 03:24:33 +0000 Subject: [PATCH] * src/EditPerson.py (get_place): Use "" for empty place's handle. svn: r3934 --- gramps2/ChangeLog | 2 ++ gramps2/src/EditPerson.py | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 47ae814d4..bff8abd93 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -28,6 +28,8 @@ * src/DateDisplay.py: Move common objects back to DateDisplay class. * src/dates/Date_ru.py: Add formats and quality. + * src/EditPerson.py (get_place): Use "" for empty place's handle. + 2005-01-17 Don Allingham * src/ReportUtils.py: Added * src/BaseDoc.py: support for graphs diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index bc8df0b45..2e77d3f7d 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2004 Donald N. Allingham +# Copyright (C) 2000-2005 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -87,7 +87,6 @@ _use_patronymic = [ "ru","RU","ru_RU","koi8r","ru_koi8r","russian","Russian", ] - #------------------------------------------------------------------------- # # EditPerson class @@ -1746,9 +1745,9 @@ class EditPerson: self.add_places.append(place) return place.get_handle() else: - return None + return u"" else: - return None + return u"" def on_edit_name_clicked(self,obj): import NameEdit