From 493302d1805d49935d4ab9d2fad3311b4f3d3541 Mon Sep 17 00:00:00 2001 From: Chris Czub Date: Mon, 16 Nov 2015 11:53:08 -0500 Subject: Support writing to outfile from mitmweb --- libmproxy/console/__init__.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libmproxy/console/__init__.py') diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index cef2013e..31edca81 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -290,15 +290,6 @@ class ConsoleMaster(flow.FlowMaster): self.loop.widget = window self.loop.draw_screen() - def start_stream_to_path(self, path, mode="wb"): - path = os.path.expanduser(path) - try: - f = file(path, mode) - self.start_stream(f, None) - except IOError as v: - return str(v) - self.stream_path = path - def _run_script_method(self, method, s, f): status, val = s.run(method, f) if val: -- cgit v1.2.3