mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
removed unused parameter
This commit is contained in:
parent
992842ddaf
commit
218e66cb32
@ -129,7 +129,7 @@ else:
|
|||||||
SYMBOL_MARK = "[m]"
|
SYMBOL_MARK = "[m]"
|
||||||
|
|
||||||
|
|
||||||
def raw_format_flow(f, focus, extended, padding):
|
def raw_format_flow(f, focus, extended):
|
||||||
f = dict(f)
|
f = dict(f)
|
||||||
pile = []
|
pile = []
|
||||||
req = []
|
req = []
|
||||||
@ -438,8 +438,7 @@ def ask_save_body(part, master, state, flow):
|
|||||||
flowcache = utils.LRUCache(800)
|
flowcache = utils.LRUCache(800)
|
||||||
|
|
||||||
|
|
||||||
def format_flow(f, focus, extended=False, hostheader=False, padding=2,
|
def format_flow(f, focus, extended=False, hostheader=False, marked=False):
|
||||||
marked=False):
|
|
||||||
d = dict(
|
d = dict(
|
||||||
intercepted = f.intercepted,
|
intercepted = f.intercepted,
|
||||||
acked = f.reply.acked,
|
acked = f.reply.acked,
|
||||||
@ -479,5 +478,5 @@ def format_flow(f, focus, extended=False, hostheader=False, padding=2,
|
|||||||
d["resp_ctype"] = ""
|
d["resp_ctype"] = ""
|
||||||
return flowcache.get(
|
return flowcache.get(
|
||||||
raw_format_flow,
|
raw_format_flow,
|
||||||
tuple(sorted(d.items())), focus, extended, padding
|
tuple(sorted(d.items())), focus, extended
|
||||||
)
|
)
|
||||||
|
@ -103,7 +103,6 @@ class FlowViewHeader(urwid.WidgetWrap):
|
|||||||
f,
|
f,
|
||||||
False,
|
False,
|
||||||
extended=True,
|
extended=True,
|
||||||
padding=0,
|
|
||||||
hostheader=self.master.showhost
|
hostheader=self.master.showhost
|
||||||
)
|
)
|
||||||
signals.flow_change.connect(self.sig_flow_change)
|
signals.flow_change.connect(self.sig_flow_change)
|
||||||
@ -114,7 +113,6 @@ class FlowViewHeader(urwid.WidgetWrap):
|
|||||||
flow,
|
flow,
|
||||||
False,
|
False,
|
||||||
extended=True,
|
extended=True,
|
||||||
padding=0,
|
|
||||||
hostheader=self.master.showhost
|
hostheader=self.master.showhost
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user