BSDDB: don't count person twice

This commit is contained in:
Doug Blank 2015-08-08 10:11:36 -04:00
parent fe73500545
commit 91934419c0

View File

@ -1547,7 +1547,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
handle = self.__add_object(person, transaction,
self.find_next_person_gramps_id if set_gid else None,
self.commit_person)
self.genderStats.count_person(person)
return handle
def add_family(self, family, transaction, set_gid=True):