ignore zc.relation errors that could happen in sync

This commit is contained in:
Frédéric Péters 2013-12-26 17:05:01 +01:00
parent a27fbf2c7f
commit 6f35b9ffd6
1 changed files with 6 additions and 1 deletions

View File

@ -418,7 +418,12 @@ class SyncFromThemis(UtilityView):
if is_question:
pass # XXX: import link to CRI
notify(ObjectModifiedEvent(object))
try:
notify(ObjectModifiedEvent(object))
except KeyError:
# ignore zc.relation errors that could happen in there.
pass
self.publish(object)
if count % 100 == 0: