Fixed typo

svn: r4471
This commit is contained in:
Don Allingham 2005-05-03 16:47:14 +00:00
parent 3346233bf0
commit 06ca7b40fd
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2005-05-03 Don Allingham <don@gramps-project.org>
* src/ReportUtils.py: fixed type (get-day() -> get_day())
2005-05-02 Don Allingham <don@gramps-project.org>
* 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 <dona@gramps-project.org>
2005-05-02 Don Allingham <dona@gramps-project.org>
* src/GrampsBSDDB.py: handle missing version number properly, detect
empty database properly.
* src/ReadGedcom.py: set default gedcom parser class to "GEDCOM 5.5"

View File

@ -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)