diff options
| author | Aldo Cortesi <aldo@corte.si> | 2016-10-19 15:03:50 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-19 15:03:50 +1300 |
| commit | 49346c5248b8aa33acef26f0d55f51dcd2493a59 (patch) | |
| tree | e92c9ac66a83fed5cf964691e5b0e81b90fc1eea /examples | |
| parent | 83dbefb224c0b0d77b226f80e37b5b3d6bebb703 (diff) | |
| parent | 7c32d4ea2a435484e83aa459831f74ca483d8e3c (diff) | |
| download | mitmproxy-49346c5248b8aa33acef26f0d55f51dcd2493a59.tar.gz mitmproxy-49346c5248b8aa33acef26f0d55f51dcd2493a59.tar.bz2 mitmproxy-49346c5248b8aa33acef26f0d55f51dcd2493a59.zip | |
Merge pull request #1632 from cortesi/refactor
Start rationalising our module structure bit by bit
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/flowbasic | 2 | ||||
| -rw-r--r-- | examples/proxapp.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/flowbasic b/examples/flowbasic index 0eb163a4..bac98916 100755 --- a/examples/flowbasic +++ b/examples/flowbasic @@ -37,7 +37,7 @@ class MyMaster(master.Master): opts = options.Options(cadir="~/.mitmproxy/") config = ProxyConfig(opts) -state = flow.State() +state = state.State() server = ProxyServer(config) m = MyMaster(opts, server, state) m.run() diff --git a/examples/proxapp.py b/examples/proxapp.py index b4fa8d3d..f95c41e5 100644 --- a/examples/proxapp.py +++ b/examples/proxapp.py @@ -4,7 +4,7 @@ instance, we're using the Flask framework (http://flask.pocoo.org/) to expose a single simplest-possible page. """ from flask import Flask -from mitmproxy.builtins import wsgiapp +from mitmproxy.addons import wsgiapp app = Flask("proxapp") |
