removed unused parameter

This commit is contained in:
Maximilian Hils 2016-02-08 00:43:20 +01:00
parent 992842ddaf
commit 218e66cb32
2 changed files with 3 additions and 6 deletions

View File

@ -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
) )

View File

@ -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
) )