2003-11-03 Tim Waugh <twaugh@redhat.com>

* src/plugins/WriteGedcom.py (GedcomWriter.write_families): Use
        frefn not prefn.


svn: r2315
This commit is contained in:
Tim Waugh 2003-11-03 11:59:28 +00:00
parent bb2d6dbaab
commit 806afb90ae
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-11-03 Tim Waugh <twaugh@redhat.com> 2003-11-03 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py (GedcomWriter.write_families): Use
frefn not prefn.
* src/plugins/gedcomexport.glade, src/plugins/WriteGedcom.py: Added * src/plugins/gedcomexport.glade, src/plugins/WriteGedcom.py: Added
support for external image references. support for external image references.

View File

@ -694,7 +694,7 @@ class GedcomWriter:
family = self.db.getFamily(key) family = self.db.getFamily(key)
father_alive = mother_alive = 0 father_alive = mother_alive = 0
self.writeln("0 @%s@ FAM" % self.fid(family.getId())) self.writeln("0 @%s@ FAM" % self.fid(family.getId()))
self.prefn(family) self.frefn(family)
person = family.getFather() person = family.getFather()
if person != None and self.plist.has_key(person.getId()): if person != None and self.plist.has_key(person.getId()):
self.writeln("1 HUSB @%s@" % self.pid(person.getId())) self.writeln("1 HUSB @%s@" % self.pid(person.getId()))