Commit 15463dd0 authored by Ivan Tyagov's avatar Ivan Tyagov

Revert "Remove not use kw argument as it is never used anywhere."

(legacy code still uses it so remain backward compatible).

This reverts commit 416502dc.
parent b27373f0
......@@ -53,7 +53,7 @@ class IngestionPolicy(Folder):
return self.portal_ingestion_policies.unpack(data)
security.declarePublic('ingest')
def ingest(self, REQUEST):
def ingest(self, REQUEST, **kw):
"""
Ingest chunk of raw data either from a Sensor or any of DAUs.
"""
......@@ -83,7 +83,7 @@ class IngestionPolicy(Folder):
# XXX Compatibility with old ingestion. Must be dropped before merging
# with wendelin master
if tag_parsing_script_id == "ERP5Site_handleDefaultFluentdIngestion":
return tag_parsing_script()
return tag_parsing_script(**kw)
reference = self.REQUEST.get('reference')
data_chunk = self.REQUEST.get('data_chunk')
......
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