Commit 30d8eb6d authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Modify the callback INHIT_HARVESTER_ON_CATEGORY to work multiple stores.

parent 60d9ce31
......@@ -130,7 +130,8 @@ def INHIBIT_HARVESTER_ON_CATEGORY(harvester):
"""Inhibit the insert of similar harvesters.
For a project, one automaton can only proceed publication
of the same code, e.g ACL or ACLN but not both
of the same code, e.g ACL or ACLN but not both, but automatons
can scan different stores.
harvester (dict): harvester fields passed to insert.
......@@ -144,7 +145,6 @@ def INHIBIT_HARVESTER_ON_CATEGORY(harvester):
# a new harvester
id_harvester = get_id(db.harvesters,
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