add a get_full_title method to person, to match other classes

This commit is contained in:
Frédéric Péters 2014-04-02 15:00:16 +02:00
parent 0a6b8eeff7
commit 94ba5f6afd
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ class Person(Container):
title = property(get_title, set_title)
def get_full_title(self):
return self.get_title()
def Title(self):
# must return utf8 and not unicode (Title() from basic behavior return utf8)
# attributes are stored as unicode