diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-05-29 11:03:54 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-05-29 11:03:54 +0200 |
commit | c707479bcd5a8ebb5d6bc8f54a5879176db46b3a (patch) | |
tree | 8fb49cb2bfa2f68b2841f2a4028c91eb781e4587 /examples/mitmproxywrapper.py | |
parent | 979c7fc319cbf551b9ea14062387f195b208b8fa (diff) | |
parent | 17382b963e22de8cb395a99e529b256e03d440ce (diff) | |
download | mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.tar.gz mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.tar.bz2 mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.zip |
Merge pull request #1173 from mitmproxy/format-examples
Format examples
Diffstat (limited to 'examples/mitmproxywrapper.py')
-rw-r--r-- | examples/mitmproxywrapper.py | 7 |
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() |