From 6175d92583f564d85ff8a59656977e6372f9dc09 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 14 May 2011 12:12:03 +1200 Subject: [PATCH] Minor code cleanup - no need to recreate the master queue. --- libmproxy/console.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmproxy/console.py b/libmproxy/console.py index f0fb74e2e..63dbf4f03 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -import Queue, mailcap, mimetypes, tempfile, os, subprocess, glob, time +import mailcap, mimetypes, tempfile, os, subprocess, glob, time import os.path, sys import cStringIO import urwid.raw_display @@ -1027,7 +1027,6 @@ class ConsoleMaster(flow.FlowMaster): self.onekey = False self.view_connlist() - self.masterq = Queue.Queue() if self.server: slave = controller.Slave(self.masterq, self.server) slave.start()