Commit f0a6332b authored by Romain Courteaud's avatar Romain Courteaud

erp5_full_text_mroonga_catalog: not so easy...

parent 4dfcd619
......@@ -6,7 +6,7 @@ try:
activity_runtime_environment = context.getActivityRuntimeEnvironment()
priority = activity_runtime_environment.getPriority()
tag = activity_runtime_environment.getTag()
except KeyError:
except (KeyError, AttributeError):
# called outside of an activity, could be an immediate reindexation
# XXX: duplicates default priority for sake of simplicity and speed.
# Strictly, this could also look-up default activate parameters, but on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment