try to avoid key issue on event
svn: r19014
This commit is contained in:
parent
4eb638fa15
commit
f3e71cef0a
@ -922,8 +922,12 @@ class VariableParse(object):
|
|||||||
return ""
|
return ""
|
||||||
|
|
||||||
def __parse_event(self, person):
|
def __parse_event(self, person):
|
||||||
event = self.get_event_by_name(person, attrib_parse.get_name())
|
#TODO; this try to avoid a key issue
|
||||||
event_f = EventFormat(self.database, self._in)
|
try:
|
||||||
|
event = self.get_event_by_name(person, attrib_parse.get_name())
|
||||||
|
event_f = EventFormat(self.database, self._in)
|
||||||
|
except:
|
||||||
|
return ""
|
||||||
if event:
|
if event:
|
||||||
return event_f.parse_format(event)
|
return event_f.parse_format(event)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user