* src/RelLib.py: improve Event is_equal method

svn: r5757
This commit is contained in:
Don Allingham 2006-01-16 02:24:05 +00:00
parent 481a797b28
commit 28b56af746
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2006-01-15 Don Allingham <don@gramps-project.org>
* src/RelLib.py: improve Event is_equal method
2006-01-11 Stefan Bjork <skalman@acc.umu.se>
* src/plugins/DetAncestralReport.py: Calculate age for indiviuals.
* src/po/sv.po: Updates.

View File

@ -67,7 +67,6 @@ from DdTargets import DdTargets
_BORN = _('b.')
_DIED = _('d.')
column_names = [
(_('#'),0) ,
(_('ID'),1) ,

View File

@ -2248,7 +2248,8 @@ class Event(PrimaryObject,PrivateSourceNote,MediaBase,DateBase,PlaceBase):
self.description != other.description or self.cause != other.cause or
self.private != other.private or
(not self.get_date_object().is_equal(other.get_date_object())) or
len(self.get_source_references()) != len(other.get_source_references())):
len(self.get_source_references()) != len(other.get_source_references()) or
len(self.media_list) != len(other.media_list)):
return False
index = 0