This commit is contained in:
Maximilian Hils 2016-10-13 20:31:14 -07:00
parent 61a1b96ca4
commit 5fab94580e

View File

@ -685,24 +685,18 @@ class ConsoleMaster(flow.FlowMaster):
# Handlers # Handlers
@controller.handler @controller.handler
def error(self, f): def error(self, f):
f = flow.FlowMaster.error(self, f) super(ConsoleMaster, self).error(f)
if f: self.process_flow(f)
self.process_flow(f)
return f
@controller.handler @controller.handler
def request(self, f): def request(self, f):
f = flow.FlowMaster.request(self, f) super(ConsoleMaster, self).request(f)
if f: self.process_flow(f)
self.process_flow(f)
return f
@controller.handler @controller.handler
def response(self, f): def response(self, f):
f = flow.FlowMaster.response(self, f) super(ConsoleMaster, self).response(f)
if f: self.process_flow(f)
self.process_flow(f)
return f
@controller.handler @controller.handler
def tcp_message(self, f): def tcp_message(self, f):