removed unused imports

This commit is contained in:
András Veres-Szentkirályi 2012-07-15 22:42:45 +02:00
parent 013ca2a00a
commit da496669c2
7 changed files with 4 additions and 17 deletions

View File

@ -1,6 +1,4 @@
import sys
import libmproxy.console.help as help import libmproxy.console.help as help
from libmproxy import utils, flow, encoding
class DummyMaster: class DummyMaster:
def make_view(self): def make_view(self):

View File

@ -2,9 +2,7 @@ import Queue, time, os.path
from cStringIO import StringIO from cStringIO import StringIO
import email.utils import email.utils
from libmproxy import filt, flow, controller, utils, tnetstring from libmproxy import filt, flow, controller, utils, tnetstring
from netlib import certutils
import tutils import tutils
import libpry
class TestStickyCookieState: class TestStickyCookieState:

View File

@ -1,7 +1,4 @@
import cStringIO, textwrap from libmproxy import proxy
from cStringIO import StringIO
import libpry
from libmproxy import proxy, flow
import tutils import tutils

View File

@ -1,4 +1,3 @@
import os
from libmproxy import script, flow from libmproxy import script, flow
import tutils import tutils

View File

@ -1,7 +1,4 @@
import urllib, urllib2, unittest from netlib import tcp
import time
import libpathod.test, requests
from netlib import tcp, http
import tutils import tutils
""" """

View File

@ -1,6 +1,5 @@
import textwrap, re, json import json
from libmproxy import utils from libmproxy import utils
from nose.tools import assert_raises
import tutils import tutils
utils.CERT_SLEEP_TIME = 0 utils.CERT_SLEEP_TIME = 0

View File

@ -1,11 +1,10 @@
import threading, Queue, time import threading, Queue
import os, shutil, tempfile import os, shutil, tempfile
from contextlib import contextmanager from contextlib import contextmanager
from libmproxy import proxy, flow, controller, utils from libmproxy import proxy, flow, controller, utils
from netlib import certutils from netlib import certutils
import human_curl as hurl import human_curl as hurl
import libpathod.test import libpathod.test
import random
def treq(conn=None): def treq(conn=None):
if not conn: if not conn: