* 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>
|
2005-04-21 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/ReadGedcom.py (parse_family_object): Set MediaRef properly;
|
* src/ReadGedcom.py (parse_family_object): Set MediaRef properly;
|
||||||
(parse_individual): Set Adoption event properly;
|
(parse_individual): Set Adoption event properly;
|
||||||
@ -24,6 +27,10 @@
|
|||||||
* src/plugins/ChangeNames.py: fix typo
|
* src/plugins/ChangeNames.py: fix typo
|
||||||
|
|
||||||
2005-04-20 Don Allingham <don@gramps-project.org>
|
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/DisplayModels.py: fix bad index into list
|
||||||
* src/Relationship.py: handle race condition where the screen
|
* src/Relationship.py: handle race condition where the screen
|
||||||
wants to update with a stale family handle after the database
|
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.
|
Comparison function. Allows the usage of equality tests.
|
||||||
This allows you do run statements like 'date1 <= date2'
|
This allows you do run statements like 'date1 <= date2'
|
||||||
"""
|
"""
|
||||||
|
if isinstance(other,Date):
|
||||||
return cmp(self.sortval,other.sortval)
|
return cmp(self.sortval,other.sortval)
|
||||||
|
else:
|
||||||
|
return -1
|
||||||
|
|
||||||
def is_equal(self,other):
|
def is_equal(self,other):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user