From f380a77deedbc4c11f11f273384d5fdf14d3f4fe Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 2 May 2018 13:38:16 +1200 Subject: Remove the tick event Mitmproxy: the tickless wonder. --- mitmproxy/script/concurrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mitmproxy/script') 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__ ) -- cgit v1.2.3