Error in logic
svn: r19405
This commit is contained in:
parent
50b3e4b56a
commit
17843e1efd
@ -105,7 +105,7 @@ class StatsGramplet(Gramplet):
|
|||||||
|
|
||||||
names = [person.get_primary_name()] + person.get_alternate_names()
|
names = [person.get_primary_name()] + person.get_alternate_names()
|
||||||
for name in names:
|
for name in names:
|
||||||
if (name.get_first_name() or name.get_group_name()) == "":
|
if (name.get_first_name() == "" or name.get_group_name() == ""):
|
||||||
incomp_names += 1
|
incomp_names += 1
|
||||||
if name.get_group_name() not in namelist:
|
if name.get_group_name() not in namelist:
|
||||||
namelist.append(name.get_group_name())
|
namelist.append(name.get_group_name())
|
||||||
|
Loading…
Reference in New Issue
Block a user