From 218e66cb32de43f4ec868acfd799e2fdfde15986 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 8 Feb 2016 00:43:20 +0100 Subject: [PATCH] removed unused parameter --- libmproxy/console/common.py | 7 +++---- libmproxy/console/flowview.py | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index 276e45c25..db5ae5c5b 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -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 ) diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index 8102de55e..d2b98b684 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -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 )