From 67381ae550a5d57c1f2841cd7118550afdfaa736 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 5 Mar 2017 14:55:46 +1300 Subject: Revamp options - Options are now explicitly initialized with an add_option method - We have one canonical Options class - ditch dump.Options --- test/helper_tools/dumperview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/helper_tools') diff --git a/test/helper_tools/dumperview.py b/test/helper_tools/dumperview.py index be56fe14..d417d767 100755 --- a/test/helper_tools/dumperview.py +++ b/test/helper_tools/dumperview.py @@ -4,12 +4,12 @@ import click from mitmproxy.addons import dumper from mitmproxy.test import tflow from mitmproxy.test import taddons -from mitmproxy.tools import dump +from mitmproxy.tools import options def show(flow_detail, flows): d = dumper.Dumper() - with taddons.context(options=dump.Options()) as ctx: + with taddons.context(options=options.Options()) as ctx: ctx.configure(d, flow_detail=flow_detail) for f in flows: ctx.cycle(d, f) -- cgit v1.2.3