diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-05-14 12:12:03 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-05-14 12:12:03 +1200 |
commit | 6175d92583f564d85ff8a59656977e6372f9dc09 (patch) | |
tree | c8b7d81c6f47c7040d3a3d8dc1e0e95f9a54c44f /libmproxy | |
parent | f89581be1b2a884fe95b764a25eead280303f595 (diff) | |
download | mitmproxy-6175d92583f564d85ff8a59656977e6372f9dc09.tar.gz mitmproxy-6175d92583f564d85ff8a59656977e6372f9dc09.tar.bz2 mitmproxy-6175d92583f564d85ff8a59656977e6372f9dc09.zip |
Minor code cleanup - no need to recreate the master queue.
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/console.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py index f0fb74e2..63dbf4f0 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 <http://www.gnu.org/licenses/>. -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() |