diff options
author | Aldo Cortesi <aldo@corte.si> | 2017-04-26 11:01:27 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2017-04-26 11:01:27 +1200 |
commit | b72f1390937e9799f588fd9a1564056131fb1aa7 (patch) | |
tree | 2396e9f5c272e671e45e8e4c4abee30ad34b3448 /test/mitmproxy/data/addonscripts/addon.py | |
parent | f90b4c2ff0f3fd71350900c10dea2a67846e1bdb (diff) | |
download | mitmproxy-b72f1390937e9799f588fd9a1564056131fb1aa7.tar.gz mitmproxy-b72f1390937e9799f588fd9a1564056131fb1aa7.tar.bz2 mitmproxy-b72f1390937e9799f588fd9a1564056131fb1aa7.zip |
configure(options, updated) -> configure(updated)
Options are now available globally on ctx, so the first argument of configure
is redundant.
Diffstat (limited to 'test/mitmproxy/data/addonscripts/addon.py')
-rw-r--r-- | test/mitmproxy/data/addonscripts/addon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/data/addonscripts/addon.py b/test/mitmproxy/data/addonscripts/addon.py index 8bd25808..8c834d82 100644 --- a/test/mitmproxy/data/addonscripts/addon.py +++ b/test/mitmproxy/data/addonscripts/addon.py @@ -9,11 +9,11 @@ class Addon: def load(self, opts): event_log.append("addonload") - def configure(self, options, updated): + def configure(self, updated): event_log.append("addonconfigure") -def configure(options, updated): +def configure(updated): event_log.append("scriptconfigure") |