* src/Relationship.py: change api get_singular, add docu string
	* src/plugins/all_relations.py: call get_singular changed.



svn: r9253
This commit is contained in:
Benny Malengier
2007-10-26 10:41:26 +00:00
parent 2bead748b9
commit fb34ae8add
3 changed files with 62 additions and 9 deletions

View File

@ -161,6 +161,7 @@ def run(database, document, person):
rel_str = rel_class.get_single_relationship_string(
len(relation[4]), len(relation[2]),
home_person.get_gender(), person.get_gender(),
relation[4], relation[2],
only_birth = birth)
sdoc.paragraph(__FMT % (count, rel_str))
count += 1