diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 00b87648b..e8a05f7a7 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-03 Don Allingham + * src/ReportUtils.py: fixed type (get-day() -> get_day()) + 2005-05-02 Don Allingham * src/gramps.glade: remove place field, fixed parent relationships * src/ImageSelect.py: remove place handling @@ -25,7 +28,7 @@ * src/po/ru.po: Translation update. -2005-05-02 +2005-05-02 Don Allingham * src/GrampsBSDDB.py: handle missing version number properly, detect empty database properly. * src/ReadGedcom.py: set default gedcom parser class to "GEDCOM 5.5" diff --git a/gramps2/src/ReportUtils.py b/gramps2/src/ReportUtils.py index 05ab68569..3bd218905 100644 --- a/gramps2/src/ReportUtils.py +++ b/gramps2/src/ReportUtils.py @@ -1796,6 +1796,6 @@ def old_calc_age(database,person): age = age - 1 units = 2 # month if age == 0: - age = death.get-day() + 31 - birth.get_day() # calc age in days + age = death.get_day() + 31 - birth.get_day() # calc age in days units = 3 # day return (age,units)