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]"
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
)

View File

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