2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set GRAMPS ID on new source (bug #1014246). svn: r3481
This commit is contained in:
parent
d6e46b07e4
commit
ab7c79cf86
@ -1,3 +1,7 @@
|
|||||||
|
2004-08-23 Tim Waugh <twaugh@redhat.com>
|
||||||
|
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set
|
||||||
|
GRAMPS ID on new source (bug #1014246).
|
||||||
|
|
||||||
2004-08-22 Don Allingham <dallingham@users.sourceforge.net>
|
2004-08-22 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/Marriage.py: pychecker fixes
|
* src/Marriage.py: pychecker fixes
|
||||||
* src/RelLib.py: pychecker fixes
|
* src/RelLib.py: pychecker fixes
|
||||||
@ -12,12 +16,10 @@
|
|||||||
* src/WriteXML.py: pychecker fixes
|
* src/WriteXML.py: pychecker fixes
|
||||||
|
|
||||||
2004-08-23 Tim Waugh <twaugh@redhat.com>
|
2004-08-23 Tim Waugh <twaugh@redhat.com>
|
||||||
|
|
||||||
* src/WriteGedcom.py (GedcomWriter.write_families): Write families
|
* src/WriteGedcom.py (GedcomWriter.write_families): Write families
|
||||||
in GRAMPS ID order for easier change tracking.
|
in GRAMPS ID order for easier change tracking.
|
||||||
|
|
||||||
2004-08-22 Tim Waugh <twaugh@redhat.com>
|
2004-08-22 Tim Waugh <twaugh@redhat.com>
|
||||||
|
|
||||||
* src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
|
* src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
|
||||||
out in GRAMPS ID order.
|
out in GRAMPS ID order.
|
||||||
(GedcomWriter.fid): Use GRAMPS ID not DB handle.
|
(GedcomWriter.fid): Use GRAMPS ID not DB handle.
|
||||||
|
@ -350,6 +350,7 @@ class GrampsDbBase:
|
|||||||
source.unserialize(self.source_map.get(str(val)))
|
source.unserialize(self.source_map.get(str(val)))
|
||||||
else:
|
else:
|
||||||
source.set_handle(val)
|
source.set_handle(val)
|
||||||
|
source.set_gramps_id(val)
|
||||||
if transaction != None:
|
if transaction != None:
|
||||||
transaction.add(SOURCE_KEY,val,None)
|
transaction.add(SOURCE_KEY,val,None)
|
||||||
self.source_map[str(val)] = source.serialize()
|
self.source_map[str(val)] = source.serialize()
|
||||||
|
Loading…
Reference in New Issue
Block a user