(GrampsInMemDB._del_family): Remove obsolete code.
svn: r6584
This commit is contained in:
parent
971bfecf66
commit
87b44b95cb
@ -6,6 +6,7 @@
|
|||||||
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
|
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
|
||||||
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
|
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
|
||||||
prior to calling open_undodb().
|
prior to calling open_undodb().
|
||||||
|
(GrampsInMemDB._del_family): Remove obsolete code.
|
||||||
|
|
||||||
2006-05-07 Don Allingham <don@gramps-project.org>
|
2006-05-07 Don Allingham <don@gramps-project.org>
|
||||||
* configure.in: set for 2.1.1
|
* configure.in: set for 2.1.1
|
||||||
|
@ -170,17 +170,7 @@ class GrampsInMemDB(GrampsDbBase):
|
|||||||
return vals
|
return vals
|
||||||
|
|
||||||
|
|
||||||
#FIXME: WHICH one to keep?
|
|
||||||
def _del_person(self,handle):
|
def _del_person(self,handle):
|
||||||
#def remove_person(self,handle,transaction):
|
|
||||||
if self.readonly or not handle or str(handle) not in self.person_map:
|
|
||||||
return
|
|
||||||
person = self.get_person_from_handle(handle)
|
|
||||||
self.genderStats.uncount_person (person)
|
|
||||||
if transaction != None:
|
|
||||||
old_data = self.person_map.get(handle)
|
|
||||||
transaction.add(PERSON_KEY,handle,old_data)
|
|
||||||
self.emit('person-delete',([handle],))
|
|
||||||
del self.id_trans[person.get_gramps_id()]
|
del self.id_trans[person.get_gramps_id()]
|
||||||
del self.person_map[handle]
|
del self.person_map[handle]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user