* src/ReportUtils.py (insert_images): Pass sizes to add_media_object;
(married_str): Quit if no spouse. svn: r4573
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
* src/plugins/Check.py (cleanup_missing_photos): Typo.
|
* src/plugins/Check.py (cleanup_missing_photos): Typo.
|
||||||
* configure.in: Bump up the version number.
|
* configure.in: Bump up the version number.
|
||||||
* NEWS: Update.
|
* 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>
|
2005-05-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/plugins/TestcaseGenerator.py: Added generation of multiple date
|
* src/plugins/TestcaseGenerator.py: Added generation of multiple date
|
||||||
|
@@ -795,6 +795,10 @@ def married_str(database,person,spouse,event,endnotes=None,
|
|||||||
@rtype: unicode
|
@rtype: unicode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# not all families have a spouse.
|
||||||
|
if not spouse:
|
||||||
|
return u""
|
||||||
|
|
||||||
if not endnotes:
|
if not endnotes:
|
||||||
endnotes = empty_notes
|
endnotes = empty_notes
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user