2003-06-26 Tim Waugh <twaugh@redhat.com>

* src/plugins/Ancestors.py: Include notes for principal names.


svn: r1785
This commit is contained in:
Tim Waugh
2003-06-26 14:30:27 +00:00
parent 4b1494b3dd
commit aae70e843f
2 changed files with 6 additions and 2 deletions

View File

@@ -510,6 +510,9 @@ class AncestorsReport (Report.Report):
return ret
def inline_notes (self, person):
name_note = person.getPrimaryName ().getNote ()
if not (name_note == '' or name_note.find ('\n') != -1):
return ' Note about their name: ' + name_note
note = person.getNote ()
if not (note == '' or note.find ('\n') != -1):
return ' ' + note