mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
removed unused imports
This commit is contained in:
parent
013ca2a00a
commit
da496669c2
@ -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):
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import os
|
|
||||||
from libmproxy import script, flow
|
from libmproxy import script, flow
|
||||||
import tutils
|
import tutils
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user