aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/script
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-05-02 13:38:16 +1200
committerAldo Cortesi <aldo@nullcube.com>2018-05-02 14:29:15 +1200
commitf380a77deedbc4c11f11f273384d5fdf14d3f4fe (patch)
tree2cb91cf83faa58bb921f816996ce5f676dfe406c /mitmproxy/script
parent2f3ba1f66dca70764f7d081aa6836d34bbe963c8 (diff)
downloadmitmproxy-f380a77deedbc4c11f11f273384d5fdf14d3f4fe.tar.gz
mitmproxy-f380a77deedbc4c11f11f273384d5fdf14d3f4fe.tar.bz2
mitmproxy-f380a77deedbc4c11f11f273384d5fdf14d3f4fe.zip
Remove the tick event
Mitmproxy: the tickless wonder.
Diffstat (limited to 'mitmproxy/script')
-rw-r--r--mitmproxy/script/concurrent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/script/concurrent.py b/mitmproxy/script/concurrent.py
index 217fab9d..4028f2f4 100644
--- a/mitmproxy/script/concurrent.py
+++ b/mitmproxy/script/concurrent.py
@@ -12,7 +12,7 @@ class ScriptThread(basethread.BaseThread):
def concurrent(fn):
- if fn.__name__ not in eventsequence.Events - {"load", "configure", "tick"}:
+ if fn.__name__ not in eventsequence.Events - {"load", "configure"}:
raise NotImplementedError(
"Concurrent decorator not supported for '%s' method." % fn.__name__
)