* src/RelLib.py: improve Event is_equal method
svn: r5757
This commit is contained in:
@@ -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>
|
2006-01-11 Stefan Bjork <skalman@acc.umu.se>
|
||||||
* src/plugins/DetAncestralReport.py: Calculate age for indiviuals.
|
* src/plugins/DetAncestralReport.py: Calculate age for indiviuals.
|
||||||
* src/po/sv.po: Updates.
|
* src/po/sv.po: Updates.
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ from DdTargets import DdTargets
|
|||||||
_BORN = _('b.')
|
_BORN = _('b.')
|
||||||
_DIED = _('d.')
|
_DIED = _('d.')
|
||||||
|
|
||||||
|
|
||||||
column_names = [
|
column_names = [
|
||||||
(_('#'),0) ,
|
(_('#'),0) ,
|
||||||
(_('ID'),1) ,
|
(_('ID'),1) ,
|
||||||
|
|||||||
@@ -2248,7 +2248,8 @@ class Event(PrimaryObject,PrivateSourceNote,MediaBase,DateBase,PlaceBase):
|
|||||||
self.description != other.description or self.cause != other.cause or
|
self.description != other.description or self.cause != other.cause or
|
||||||
self.private != other.private or
|
self.private != other.private or
|
||||||
(not self.get_date_object().is_equal(other.get_date_object())) 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
|
return False
|
||||||
|
|
||||||
index = 0
|
index = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user