aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmproxy/controller.py1
-rw-r--r--libmproxy/dump.py2
-rw-r--r--libmproxy/proxy.py2
-rwxr-xr-xmitmdump6
-rwxr-xr-xmitmproxy4
5 files changed, 7 insertions, 8 deletions
diff --git a/libmproxy/controller.py b/libmproxy/controller.py
index 524b2513..756e51e6 100644
--- a/libmproxy/controller.py
+++ b/libmproxy/controller.py
@@ -13,7 +13,6 @@
# 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 sys
import Queue, threading
should_exit = False
diff --git a/libmproxy/dump.py b/libmproxy/dump.py
index d1bdfb3f..2ad88cfc 100644
--- a/libmproxy/dump.py
+++ b/libmproxy/dump.py
@@ -1,5 +1,5 @@
import sys, os
-import flow, filt, utils, script
+import flow, filt, utils
class DumpError(Exception): pass
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 54becb39..5a2a4f43 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -5,7 +5,7 @@
Development started from Neil Schemenauer's munchy.py
"""
-import sys, os, string, socket, select, time
+import sys, os, string, socket, time
import shutil, tempfile, threading
import optparse, SocketServer, ssl
import utils, flow
diff --git a/mitmdump b/mitmdump
index bb4ec501..1a710392 100755
--- a/mitmdump
+++ b/mitmdump
@@ -15,10 +15,10 @@
# 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 sys, os.path
-from libmproxy import proxy, dump, utils, cmdline
+import sys
+from libmproxy import proxy, dump, cmdline
from libmproxy.version import VERSION
-from optparse import OptionParser, OptionGroup
+from optparse import OptionParser
if __name__ == '__main__':
diff --git a/mitmproxy b/mitmproxy
index 942646b2..d53d7301 100755
--- a/mitmproxy
+++ b/mitmproxy
@@ -15,8 +15,8 @@
# 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 sys, os.path
-from libmproxy import proxy, controller, console, utils, flow, cmdline
+import sys
+from libmproxy import proxy, console, cmdline
from libmproxy.version import VERSION
from optparse import OptionParser, OptionGroup