* src/ReadGedcom.py: remove extra commits
svn: r3601
This commit is contained in:
parent
7af735c6cf
commit
5c2503b652
@ -1,3 +1,6 @@
|
||||
2004-10-06 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/ReadGedcom.py: remove extra commits
|
||||
|
||||
2004-10-06 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/Makefile.am: Remove extra DESTDIR.
|
||||
* src/docgen/Makefile.am: Remove extra DESTDIR, correct pycheck target.
|
||||
|
@ -132,13 +132,12 @@ class GrampsDbBase:
|
||||
Returns 1 if the database has been opened.
|
||||
"""
|
||||
return self.person_map != None
|
||||
|
||||
|
||||
def commit_person(self,person,transaction,change_time=None):
|
||||
"""
|
||||
Commits the specified Person to the database, storing the changes
|
||||
as part of the transaction.
|
||||
"""
|
||||
|
||||
if change_time:
|
||||
person.change = int(change_time)
|
||||
else:
|
||||
|
@ -605,7 +605,6 @@ class GedcomParser:
|
||||
intid = Utils.create_id()
|
||||
person.set_handle(intid)
|
||||
person.set_gramps_id(gramps_id)
|
||||
self.db.add_person(person,self.trans)
|
||||
self.gid2id[gramps_id] = intid
|
||||
return person
|
||||
|
||||
@ -618,7 +617,6 @@ class GedcomParser:
|
||||
intid = Utils.create_id()
|
||||
source.set_handle(intid)
|
||||
source.set_gramps_id(gramps_id)
|
||||
self.db.add_source(source,self.trans)
|
||||
self.sid2id[gramps_id] = intid
|
||||
return source
|
||||
|
||||
@ -632,7 +630,6 @@ class GedcomParser:
|
||||
place.set_handle(intid)
|
||||
place.set_title(gramps_id)
|
||||
place.set_gramps_id(self.db.find_next_place_gramps_id())
|
||||
self.db.add_place(place,self.trans)
|
||||
self.lid2id[gramps_id] = intid
|
||||
return place
|
||||
|
||||
@ -645,7 +642,6 @@ class GedcomParser:
|
||||
intid = Utils.create_id()
|
||||
family.set_handle(intid)
|
||||
family.set_gramps_id(gramps_id)
|
||||
self.db.add_family(family,self.trans)
|
||||
self.fid2id[gramps_id] = intid
|
||||
return family
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user