Merge pull request #906 from anantk17/master
Added feature to intercept flows from within inline scripts
This commit is contained in:
commit
417384d6f2
|
@ -703,7 +703,11 @@ class ConsoleMaster(flow.FlowMaster):
|
|||
self.state.intercept) and not f.request.is_replay:
|
||||
f.intercept(self)
|
||||
else:
|
||||
f.reply()
|
||||
#check if flow was intercepted within an inline script by flow.intercept()
|
||||
if f.intercepted:
|
||||
f.intercept(self)
|
||||
else:
|
||||
f.reply()
|
||||
signals.flowlist_change.send(self)
|
||||
signals.flow_change.send(self, flow = f)
|
||||
|
||||
|
|
Loading…
Reference in New Issue