diff --git a/gramps/gen/lib/placename.py b/gramps/gen/lib/placename.py old mode 100644 new mode 100755 index 2701c4b71..93dd48d17 --- a/gramps/gen/lib/placename.py +++ b/gramps/gen/lib/placename.py @@ -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.