Commit 10f2dc5d authored by Jérome Perrin's avatar Jérome Perrin

system_event: Call inquiry type based method with the HTTP Exchange as first argument

With this, the inquiry script can use the HTTP Exchange for processing.

This is API breaking, but before this, users were abusing
HTTPExchange_getFollowUpForXXX scripts or just not using this framework.
parent 7e2877e4
......@@ -15,4 +15,4 @@ while True:
follow_up = getattr(context, 'HTTPExchange_getFollowUpFor' + codification)()
if follow_up is not None:
context.setFollowUpValue(follow_up)
follow_up.getTypeBasedMethod('inquiry')()
follow_up.getTypeBasedMethod('inquiry')(http_exchange_value=context)
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