* src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler

svn: r4367
This commit is contained in:
Martin Hawlisch 2005-04-16 12:16:56 +00:00
parent 350ed9e36d
commit 1f96107362
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-04-15 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID;
Alway print fields for birth/death; Fixed typo in DateHandler
2005-04-14 Don Allingham <don@gramps-project.org> 2005-04-14 Don Allingham <don@gramps-project.org>
* src/plugins/Check.py: loop through family relationships until all * src/plugins/Check.py: loop through family relationships until all
problems are resolved problems are resolved

View File

@ -832,7 +832,7 @@ class WebReport(Report.Report):
surName = name.get_surname() surName = name.get_surname()
suffix = name.get_suffix() suffix = name.get_suffix()
f.write("%s.%s|" % (p_id,self.ext)) f.write("%s.%s|" % (p.get_gramps_id(),self.ext))
f.write("%s|" % surName) f.write("%s|" % surName)
if suffix == "": if suffix == "":
f.write("%s /%s/|" % (firstName,surName)) f.write("%s /%s/|" % (firstName,surName))
@ -842,9 +842,9 @@ class WebReport(Report.Report):
if e_id: if e_id:
e = self.database.get_event_from_handle(e_id) e = self.database.get_event_from_handle(e_id)
else: else:
continue e = None
if e: if e:
f.write("%s|" % DateHander.displayer.display(e.get_date_object())) f.write("%s|" % DateHandler.displayer.display(e.get_date_object()))
if e.get_place_handle(): if e.get_place_handle():
f.write('%s|' % self.database.get_place_from_handle(e.get_place_handle()).get_title()) f.write('%s|' % self.database.get_place_from_handle(e.get_place_handle()).get_title())
else: else: