* src/plugins/DescendReport.py (_make_default_style): fix indentation levels

* src/plugins/FamilyGroup.py (FamilyGroup.dump_child): handle missing spouse


svn: r2559
This commit is contained in:
Don Allingham 2003-12-27 22:15:23 +00:00
parent cbc7823ef2
commit 1acffa04f7

View File

@ -298,7 +298,7 @@ def _make_default_style(default_style):
for i in range(1,32): for i in range(1,32):
p = BaseDoc.ParagraphStyle() p = BaseDoc.ParagraphStyle()
p.set_font(f) p.set_font(f)
p.set_left_margin(max(10.0,float(i-1))) p.set_left_margin(min(10.0,float(i-1)))
p.set_description(_("The style used for the level %d display.") % i) p.set_description(_("The style used for the level %d display.") % i)
default_style.add_style("DR-Level%d" % i,p) default_style.add_style("DR-Level%d" % i,p)