2003-07-01 Tim Waugh <twaugh@redhat.com>

* src/EditPerson.py: Don't guess gender if it has already been set.


svn: r1808
This commit is contained in:
Tim Waugh 2003-07-01 19:04:47 +00:00
parent fd04492e71
commit 9c68130bca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-07-01 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Don't guess gender if it has already been set.
2003-06-30 Tim Waugh <twaugh@redhat.com>
* src/plugins/Makefile.am: Ship FanChart.py.
* src/plugins/Ancestors.py (generation): Report on the correct

View File

@ -86,7 +86,9 @@ class EditPerson:
self.update_death = 0
self.pdmap = {}
self.add_places = []
self.should_guess_gender = (self.original_id == '')
self.should_guess_gender = (self.original_id == '' and
person.getGender () ==
RelLib.Person.unknown)
for key in db.getPlaceKeys():
p = db.getPlaceDisplay(key)