Error in logic

svn: r19405
This commit is contained in:
Doug Blank 2012-04-29 12:42:45 +00:00
parent 50b3e4b56a
commit 17843e1efd

View File

@ -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())