aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mitmproxywrapper.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-05-29 01:23:39 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-05-29 01:23:39 -0700
commit17382b963e22de8cb395a99e529b256e03d440ce (patch)
treebad14d80e1580995be2fc48780669bba747b8552 /examples/mitmproxywrapper.py
parent8638000cfa859ca2ae5fb39c58cbdf5e6fc10c19 (diff)
downloadmitmproxy-17382b963e22de8cb395a99e529b256e03d440ce.tar.gz
mitmproxy-17382b963e22de8cb395a99e529b256e03d440ce.tar.bz2
mitmproxy-17382b963e22de8cb395a99e529b256e03d440ce.zip
format examples
Diffstat (limited to 'examples/mitmproxywrapper.py')
-rw-r--r--examples/mitmproxywrapper.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/mitmproxywrapper.py b/examples/mitmproxywrapper.py
index 7ea10715..f6afbf97 100644
--- a/examples/mitmproxywrapper.py
+++ b/examples/mitmproxywrapper.py
@@ -16,7 +16,6 @@ import sys
class Wrapper(object):
-
def __init__(self, port, extra_arguments=None):
self.port = port
self.extra_arguments = extra_arguments
@@ -142,7 +141,7 @@ class Wrapper(object):
'--toggle',
action='store_true',
help='just toggle the proxy configuration')
-# parser.add_argument('--honeyproxy', action='store_true', help='run honeyproxy instead of mitmproxy')
+ # parser.add_argument('--honeyproxy', action='store_true', help='run honeyproxy instead of mitmproxy')
parser.add_argument(
'-p',
'--port',
@@ -155,8 +154,8 @@ class Wrapper(object):
if args.toggle:
wrapper.toggle_proxy()
-# elif args.honeyproxy:
-# wrapper.wrap_honeyproxy()
+ # elif args.honeyproxy:
+ # wrapper.wrap_honeyproxy()
else:
wrapper.wrap_mitmproxy()