aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/addonmanager.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-04-04 07:28:43 +1200
committerAldo Cortesi <aldo@corte.si>2018-04-07 09:02:10 +1200
commit80f2bac356dd8abc50a28e4c8d9951a60979d168 (patch)
tree1d60ebbf513b256bac0049253b6dd942c8bd9947 /mitmproxy/addonmanager.py
parent0fa1280daa94729defa8411d86266bd2b52ad0b6 (diff)
downloadmitmproxy-80f2bac356dd8abc50a28e4c8d9951a60979d168.tar.gz
mitmproxy-80f2bac356dd8abc50a28e4c8d9951a60979d168.tar.bz2
mitmproxy-80f2bac356dd8abc50a28e4c8d9951a60979d168.zip
asyncio: move log mechanism onto the event loop
Logs are now asynchronous, with a log entry pushed onto the event loop for handling. To support this, the test mechanism grows an await_log method that waits for a log entry to appear.
Diffstat (limited to 'mitmproxy/addonmanager.py')
-rw-r--r--mitmproxy/addonmanager.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mitmproxy/addonmanager.py b/mitmproxy/addonmanager.py
index a83b0e68..418ab046 100644
--- a/mitmproxy/addonmanager.py
+++ b/mitmproxy/addonmanager.py
@@ -3,7 +3,6 @@ import typing
import traceback
import contextlib
import sys
-import asyncio
from mitmproxy import exceptions
from mitmproxy import eventsequence