Tweak replacing a list with a set

svn: r16597
This commit is contained in:
Gerald Britton 2011-02-10 17:44:10 +00:00
parent baaa890efc
commit fd81aef58b

View File

@ -153,11 +153,14 @@ _individuallist = set()
place_handle_list = set() place_handle_list = set()
# Events that are usually a family event # Events that are usually a family event
_EVENTMAP = [ gen.lib.EventType.MARRIAGE, gen.lib.EventType.MARR_ALT, _EVENTMAP = set(
gen.lib.EventType.MARR_SETTL, gen.lib.EventType.MARR_LIC, [gen.lib.EventType.MARRIAGE, gen.lib.EventType.MARR_ALT,
gen.lib.EventType.MARR_CONTR, gen.lib.EventType.MARR_BANNS, gen.lib.EventType.MARR_SETTL, gen.lib.EventType.MARR_LIC,
gen.lib.EventType.ENGAGEMENT, gen.lib.EventType.DIVORCE, gen.lib.EventType.MARR_CONTR, gen.lib.EventType.MARR_BANNS,
gen.lib.EventType.DIV_FILING ] gen.lib.EventType.ENGAGEMENT, gen.lib.EventType.DIVORCE,
gen.lib.EventType.DIV_FILING
]
)
# define clear blank line for proper styling # define clear blank line for proper styling
fullclear = Html("div", class_ = "fullclear", inline = True) fullclear = Html("div", class_ = "fullclear", inline = True)