* src/WriteGedcom.py (write_source_ref): Use source, not handle.
svn: r3898
This commit is contained in:
parent
43bb968621
commit
9e10f6e634
@ -4,6 +4,8 @@
|
|||||||
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
|
* src/ImageSelect.py (GlobalMediaProperties.display_refs):
|
||||||
Add references for personal and family events.
|
Add references for personal and family events.
|
||||||
|
|
||||||
|
* src/WriteGedcom.py (write_source_ref): Use source, not handle.
|
||||||
|
|
||||||
2005-01-10 Alex Roitman <shura@alex.neuro.umn.edu>
|
2005-01-10 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/plugins/StatisticsChart.py: Misc fixes.
|
* src/plugins/StatisticsChart.py: Misc fixes.
|
||||||
* src/PluginMgr.py (reload_plugins): Remove function.
|
* src/PluginMgr.py (reload_plugins): Remove function.
|
||||||
|
@ -1171,11 +1171,12 @@ class GedcomWriter:
|
|||||||
# Not using CONC and CONT because GeneWeb does not support these.
|
# Not using CONC and CONT because GeneWeb does not support these.
|
||||||
# TEXT and NOTE will be ignored by GeneWeb, but we can't
|
# TEXT and NOTE will be ignored by GeneWeb, but we can't
|
||||||
# output paragaphs in SOUR without CONT.
|
# output paragaphs in SOUR without CONT.
|
||||||
sbase = ref.get_base_handle()
|
txt = ""
|
||||||
|
sbase_handle = ref.get_base_handle()
|
||||||
|
if sbase_handle:
|
||||||
|
sbase = self.db.get_source_from_handle(sbase_handle)
|
||||||
if sbase and sbase.get_title():
|
if sbase and sbase.get_title():
|
||||||
txt = sbase.get_title() + ". "
|
txt = sbase.get_title() + ". "
|
||||||
else:
|
|
||||||
txt = ""
|
|
||||||
if ref.get_page():
|
if ref.get_page():
|
||||||
txt = txt + ref.get_page() + ". "
|
txt = txt + ref.get_page() + ". "
|
||||||
self.g.write("%d SOUR %s" % (level,self.cnvtxt(txt)))
|
self.g.write("%d SOUR %s" % (level,self.cnvtxt(txt)))
|
||||||
|
Loading…
Reference in New Issue
Block a user