Commit af6f54cc authored by Ivan Tyagov's avatar Ivan Tyagov Committed by Laurent S

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

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