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