aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/har_dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-24 11:29:36 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-25 10:48:12 +1300
commit65f0885bd6809966f694d1ffb965401b8ab2cffc (patch)
treeea90d5849f57d6b74ca0cefbb4498ff10776a848 /examples/complex/har_dump.py
parentd69a411303298c944d5941e0f3e435ff96800a69 (diff)
downloadmitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.tar.gz
mitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.tar.bz2
mitmproxy-65f0885bd6809966f694d1ffb965401b8ab2cffc.zip
addon loader: add boot_into, which replaces returning from start()
While we're here, expand test coverage for addonmanager to 100%, and promote to individual coverage.
Diffstat (limited to 'examples/complex/har_dump.py')
-rw-r--r--examples/complex/har_dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py
index f9f8cd95..0515d0f5 100644
--- a/examples/complex/har_dump.py
+++ b/examples/complex/har_dump.py
@@ -25,7 +25,7 @@ HAR = {}
SERVERS_SEEN = set()
-def load(opts):
+def load(l):
"""
Called once on script startup before any other events.
"""