* src/EditPerson.py (did_data_change): When checking name type,

compare translated strings (otherwise they always differ).


svn: r1734
This commit is contained in:
Alex Roitman 2003-06-14 04:57:20 +00:00
parent 00e357ea3f
commit 96dc27a4c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-13 Alex Roitman <shura@alex.neuro.umn.edu>
* src/EditPerson.py (did_data_change): When checking name type,
compare translated strings (otherwise they always differ).
2003-06-13 Don Allingham <dallingham@users.sourceforge.net>
* src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to

View File

@ -930,7 +930,7 @@ class EditPerson:
else:
if surname.upper() != name.getSurname().upper():
changed = 1
if ntype != name.getType():
if ntype != const.InverseNameTypesMap[name.getType()]:
changed = 1
if given != name.getFirstName():
changed = 1