From 3c1db00ebb2aa0596840cda6a60e2af3d11a656b Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 23 Feb 2011 12:40:30 +1300 Subject: Remove first iteration playback/record. Bonus: unit test coverage goes from 70% to 94% with one commit. ;) --- libmproxy/console.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libmproxy/console.py') diff --git a/libmproxy/console.py b/libmproxy/console.py index fbd3617a..187502a6 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -19,7 +19,6 @@ import cStringIO import urwid.curses_display import urwid import controller, utils, filt, proxy, flow -import recorder class Stop(Exception): pass @@ -731,9 +730,6 @@ class ConsoleState(flow.State): self.set_focus(self.focus) return ret - def start_recording(self, recorder): - self.store = recorder - def get_focus(self): if not self.view or self.focus is None: return None, None @@ -812,8 +808,6 @@ class ConsoleMaster(flow.FlowMaster): self.stickycookie = None self.stickyhosts = {} - if getattr(options, "cache", None) is not None: - self.state.start_recording(recorder.Recorder(options)) def spawn_external_viewer(self, data, contenttype): if contenttype: -- cgit v1.2.3