Remove flow marking from ConsoleState

This commit is contained in:
Shadab Zafar 2016-07-20 16:11:26 +05:30
parent 500b61a811
commit 40b50e9398

View File

@ -67,7 +67,6 @@ class ConsoleState(flow.State):
def add_flow(self, f): def add_flow(self, f):
super(ConsoleState, self).add_flow(f) super(ConsoleState, self).add_flow(f)
self.update_focus() self.update_focus()
self.set_flow_marked(f, False)
return f return f
def update_flow(self, f): def update_flow(self, f):
@ -153,12 +152,6 @@ class ConsoleState(flow.State):
self.focus = 0 self.focus = 0
self.set_focus(self.focus) self.set_focus(self.focus)
def flow_marked(self, flow):
return self.get_flow_setting(flow, "marked", False)
def set_flow_marked(self, flow, marked):
self.add_flow_setting(flow, "marked", marked)
class Options(mitmproxy.options.Options): class Options(mitmproxy.options.Options):
def __init__( def __init__(