Bug 9415 Place Alt Names gets duplicated entries
This commit is contained in:
parent
e9c076520a
commit
30fb4916f3
6
gramps/gen/lib/placename.py
Normal file → Executable file
6
gramps/gen/lib/placename.py
Normal file → Executable file
@ -200,6 +200,12 @@ class PlaceName(SecondaryObject, DateBase):
|
|||||||
else:
|
else:
|
||||||
return EQUAL
|
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):
|
def set_value(self, value):
|
||||||
"""
|
"""
|
||||||
Set the name for the PlaceName instance.
|
Set the name for the PlaceName instance.
|
||||||
|
Loading…
Reference in New Issue
Block a user