diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-07-18 03:13:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 03:13:50 +0200 |
commit | 256c0c94fb6967e56668cef4b743768b49f619cb (patch) | |
tree | 3a81646863e1b6e474ba49899982a4bdd95b5b20 | |
parent | 2e30c4073dd8b6ee3724a2aabe9b5460f9427baf (diff) | |
parent | b86cf6dea98b5d3d8c81898a2ecf18c647358edd (diff) | |
download | mitmproxy-256c0c94fb6967e56668cef4b743768b49f619cb.tar.gz mitmproxy-256c0c94fb6967e56668cef4b743768b49f619cb.tar.bz2 mitmproxy-256c0c94fb6967e56668cef4b743768b49f619cb.zip |
Merge pull request #3586 from mhils/issue-py38compat
fix py38 compat
-rw-r--r-- | mitmproxy/platform/windows.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/platform/windows.py b/mitmproxy/platform/windows.py index cb0a7096..19d9abd4 100644 --- a/mitmproxy/platform/windows.py +++ b/mitmproxy/platform/windows.py @@ -13,6 +13,7 @@ import typing import click import collections +import collections.abc import pydivert import pydivert.consts @@ -171,7 +172,7 @@ def MIB_TCPTABLE_OWNER_PID(size): TCP_TABLE_OWNER_PID_CONNECTIONS = 4 -class TcpConnectionTable(collections.Mapping): +class TcpConnectionTable(collections.abc.Mapping): DEFAULT_TABLE_SIZE = 4096 def __init__(self): |