From fd81aef58b007cbcefa1fe1a6f326fd811448aff Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Thu, 10 Feb 2011 17:44:10 +0000 Subject: [PATCH] Tweak replacing a list with a set svn: r16597 --- src/plugins/webreport/NarrativeWeb.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index bb22a4063..711fba431 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -153,11 +153,14 @@ _individuallist = set() place_handle_list = set() # Events that are usually a family event -_EVENTMAP = [ gen.lib.EventType.MARRIAGE, gen.lib.EventType.MARR_ALT, - gen.lib.EventType.MARR_SETTL, gen.lib.EventType.MARR_LIC, - gen.lib.EventType.MARR_CONTR, gen.lib.EventType.MARR_BANNS, - gen.lib.EventType.ENGAGEMENT, gen.lib.EventType.DIVORCE, - gen.lib.EventType.DIV_FILING ] +_EVENTMAP = set( + [gen.lib.EventType.MARRIAGE, gen.lib.EventType.MARR_ALT, + gen.lib.EventType.MARR_SETTL, gen.lib.EventType.MARR_LIC, + gen.lib.EventType.MARR_CONTR, gen.lib.EventType.MARR_BANNS, + gen.lib.EventType.ENGAGEMENT, gen.lib.EventType.DIVORCE, + gen.lib.EventType.DIV_FILING + ] + ) # define clear blank line for proper styling fullclear = Html("div", class_ = "fullclear", inline = True)