From df18fdebea5b2315b1e63ad43d7ffd7076fd8b41 Mon Sep 17 00:00:00 2001 From: prculley Date: Thu, 12 May 2016 09:36:28 -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 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.