* src/ReportUtils.py (insert_images): Pass sizes to add_media_object;

(married_str): Quit if no spouse.


svn: r4573
This commit is contained in:
Alex Roitman 2005-05-12 16:57:15 +00:00
parent 86634e3481
commit d64b5bdc47
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,8 @@
* src/plugins/Check.py (cleanup_missing_photos): Typo.
* configure.in: Bump up the version number.
* NEWS: Update.
* src/ReportUtils.py (insert_images): Pass sizes to add_media_object.
* src/ReportUtils.py (insert_images): Pass sizes to add_media_object;
(married_str): Quit if no spouse.
2005-05-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/plugins/TestcaseGenerator.py: Added generation of multiple date

View File

@ -795,6 +795,10 @@ def married_str(database,person,spouse,event,endnotes=None,
@rtype: unicode
"""
# not all families have a spouse.
if not spouse:
return u""
if not endnotes:
endnotes = empty_notes