From 30fb4916f3915fbfbbd5f59f8a575e956757b196 Mon Sep 17 00:00:00 2001 From: prculley Date: Thu, 5 May 2016 16:07:31 -0500 Subject: [PATCH] Bug 9415 Place Alt Names gets duplicated entries --- gramps/gen/lib/placename.py | 6 ++++++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 gramps/gen/lib/placename.py diff --git a/gramps/gen/lib/placename.py b/gramps/gen/lib/placename.py old mode 100644 new mode 100755 index 6be44ca11..dfc3d6a1f --- a/gramps/gen/lib/placename.py +++ b/gramps/gen/lib/placename.py @@ -200,6 +200,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.