4463: Forgotten return statement in get_surnames/get_prefixes/get_connectors (contribution by MD Nauta)
svn: r16286
This commit is contained in:
parent
0f2c2b5108
commit
205b1f107b
@ -211,6 +211,7 @@ class SurnameBase(object):
|
|||||||
realsurn = surn.get_surname()
|
realsurn = surn.get_surname()
|
||||||
if realsurn:
|
if realsurn:
|
||||||
surnl.append(realsurn)
|
surnl.append(realsurn)
|
||||||
|
return surnl
|
||||||
|
|
||||||
def get_prefixes(self):
|
def get_prefixes(self):
|
||||||
"""
|
"""
|
||||||
@ -221,6 +222,7 @@ class SurnameBase(object):
|
|||||||
prefix = surn.get_prefix()
|
prefix = surn.get_prefix()
|
||||||
if prefix:
|
if prefix:
|
||||||
prefixl.append(prefix)
|
prefixl.append(prefix)
|
||||||
|
return prefixl
|
||||||
|
|
||||||
def get_connectors(self):
|
def get_connectors(self):
|
||||||
"""
|
"""
|
||||||
@ -231,3 +233,4 @@ class SurnameBase(object):
|
|||||||
conn = surn.get_connector()
|
conn = surn.get_connector()
|
||||||
if conn:
|
if conn:
|
||||||
connl.append(conn)
|
connl.append(conn)
|
||||||
|
return connl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user