* src/Date.py (__cmp__): check for Date instance before compare
* src/plugins/DetAncestralReport.py: fixed i18n strings * src/ReadGedcom.py: handle FTM style of child/parent relationship translation * src/gedcomimport.py: svn: r4403
This commit is contained in:
parent
1ec714006e
commit
716a3119e7
@ -1,3 +1,6 @@
|
||||
2005-04-22 Don Allingham <don@gramps-project.org>
|
||||
* src/Date.py (__cmp__): check for Date instance before compare
|
||||
|
||||
2005-04-21 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/ReadGedcom.py (parse_family_object): Set MediaRef properly;
|
||||
(parse_individual): Set Adoption event properly;
|
||||
@ -24,6 +27,10 @@
|
||||
* src/plugins/ChangeNames.py: fix typo
|
||||
|
||||
2005-04-20 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/DetAncestralReport.py: fixed i18n strings
|
||||
* src/ReadGedcom.py: handle FTM style of child/parent relationship
|
||||
translation
|
||||
* src/gedcomimport.py:
|
||||
* src/DisplayModels.py: fix bad index into list
|
||||
* src/Relationship.py: handle race condition where the screen
|
||||
wants to update with a stale family handle after the database
|
||||
|
@ -135,7 +135,10 @@ class Date:
|
||||
Comparison function. Allows the usage of equality tests.
|
||||
This allows you do run statements like 'date1 <= date2'
|
||||
"""
|
||||
return cmp(self.sortval,other.sortval)
|
||||
if isinstance(other,Date):
|
||||
return cmp(self.sortval,other.sortval)
|
||||
else:
|
||||
return -1
|
||||
|
||||
def is_equal(self,other):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user