* src/GrampsDbBase.py: don't count_person for gender stats on
add_person, since already done it commit_person svn: r4893
This commit is contained in:
parent
b34f6acb50
commit
8179e66d0b
@ -1,3 +1,7 @@
|
|||||||
|
2005-06-29 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDbBase.py: don't count_person for gender stats on
|
||||||
|
add_person, since already done it commit_person
|
||||||
|
|
||||||
2005-06-29 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2005-06-29 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/plugins/DumpGenderStats.py: New plugin for debugging
|
* src/plugins/DumpGenderStats.py: New plugin for debugging
|
||||||
|
|
||||||
|
@ -545,7 +545,6 @@ class GrampsDbBase(GrampsDBCallback.GrampsDBCallback):
|
|||||||
transaction.add(PERSON_KEY, val, None)
|
transaction.add(PERSON_KEY, val, None)
|
||||||
self.person_map[str(val)] = person.serialize()
|
self.person_map[str(val)] = person.serialize()
|
||||||
self.emit('person-add', ([str(val)],))
|
self.emit('person-add', ([str(val)],))
|
||||||
self.genderStats.count_person (person, self)
|
|
||||||
return person
|
return person
|
||||||
|
|
||||||
def find_source_from_handle(self,val,transaction):
|
def find_source_from_handle(self,val,transaction):
|
||||||
@ -667,7 +666,6 @@ class GrampsDbBase(GrampsDBCallback.GrampsDBCallback):
|
|||||||
if not person.get_handle():
|
if not person.get_handle():
|
||||||
person.set_handle(self.create_id())
|
person.set_handle(self.create_id())
|
||||||
self.commit_person(person,transaction)
|
self.commit_person(person,transaction)
|
||||||
self.genderStats.count_person (person, self)
|
|
||||||
return person.get_handle()
|
return person.get_handle()
|
||||||
|
|
||||||
def add_family(self,family,transaction):
|
def add_family(self,family,transaction):
|
||||||
|
Loading…
Reference in New Issue
Block a user