Merge pull request #145 from prculley/bug9415

Bug 9415 Place Alt Names gets duplicated entries
This commit is contained in:
Sam Manzi 2016-05-13 08:57:37 +10:00
commit 7ade71945e

6
gramps/gen/lib/placename.py Normal file → Executable file
View File

@ -199,6 +199,12 @@ class PlaceName(SecondaryObject, DateBase):
else:
return EQUAL
def __eq__(self, other):
return self.is_equal(other)
def __ne__(self, other):
return not self.is_equal(other)
def set_value(self, value):
"""
Set the name for the PlaceName instance.