2007-10-15 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/plugins/WebCal.py: fixed a wrong indent level
	* src/plugins/Calendar.py: handle divorces, weekdays, easter, eval values in XML



svn: r9191
This commit is contained in:
Doug Blank
2007-10-16 02:26:38 +00:00
parent 8aaf924411
commit f9606c4b03
3 changed files with 76 additions and 19 deletions

View File

@@ -641,10 +641,10 @@ class WebReport(Report):
married = True
for event_ref in fam.get_event_ref_list():
event = self.database.get_event_from_handle(event_ref.ref)
if event and int(event.get_type()) in [gen.lib.EventType.DIVORCE,
gen.lib.EventType.ANNULMENT,
gen.lib.EventType.DIV_FILING]:
married = False
if event and int(event.get_type()) in [gen.lib.EventType.DIVORCE,
gen.lib.EventType.ANNULMENT,
gen.lib.EventType.DIV_FILING]:
married = False
if married:
for event_ref in fam.get_event_ref_list():
event = self.database.get_event_from_handle(event_ref.ref)