4463: Forgotten return statement in get_surnames/get_prefixes/get_connectors (contribution by MD Nauta)

svn: r16286
This commit is contained in:
Jérôme Rapinat 2010-12-15 16:51:31 +00:00
parent 0f2c2b5108
commit 205b1f107b

View File

@ -211,6 +211,7 @@ class SurnameBase(object):
realsurn = surn.get_surname()
if realsurn:
surnl.append(realsurn)
return surnl
def get_prefixes(self):
"""
@ -221,6 +222,7 @@ class SurnameBase(object):
prefix = surn.get_prefix()
if prefix:
prefixl.append(prefix)
return prefixl
def get_connectors(self):
"""
@ -231,3 +233,4 @@ class SurnameBase(object):
conn = surn.get_connector()
if conn:
connl.append(conn)
return connl