* src/EdirPerson.py (__init__): Typos.

svn: r3501
This commit is contained in:
Alex Roitman 2004-08-24 04:51:11 +00:00
parent aa0165c0a7
commit c99cf190cd
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2004-08-23 Alex Roitman <shura@alex.neuro.umn.edu>
* src/EdirPerson.py (__init__): Typos.
2004-08-23 Jim Smart <jim@jimsmart.org>
* src/PeopleModel.py: enhanced column_spouse
* src/RelLib.py: enhance probably_alive to check for "Cause

View File

@ -91,8 +91,8 @@ class EditPerson:
self.person = person
self.orig_surname = person.get_primary_name().get_surname()
self.parent = parent
self.orig_id = self.person.get_handle()
if self.parent.child_windows.has_key(self.orig_id):
self.orig_handle = self.person.get_handle()
if self.parent.child_windows.has_key(self.orig_handle):
self.parent.child_windows[self.person.get_handle()].present(None)
return
self.db = db
@ -106,7 +106,7 @@ class EditPerson:
self.update_death = 0
self.pdmap = {}
self.add_places = []
self.should_guess_gender = (self.orig_id == '' and
self.should_guess_gender = (person.get_gramps_id() == '' and
person.get_gender () ==
RelLib.Person.unknown)