Skip to content

Commit b86cf6d

Browse files
committed
fix py38 compat
1 parent 2e30c40 commit b86cf6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mitmproxy/platform/windows.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
import click
1515
import collections
16+
import collections.abc
1617
import pydivert
1718
import pydivert.consts
1819

@@ -171,7 +172,7 @@ class _MIB_TCPTABLE_OWNER_PID(ctypes.Structure):
171172
TCP_TABLE_OWNER_PID_CONNECTIONS = 4
172173

173174

174-
class TcpConnectionTable(collections.Mapping):
175+
class TcpConnectionTable(collections.abc.Mapping):
175176
DEFAULT_TABLE_SIZE = 4096
176177

177178
def __init__(self):

0 commit comments

Comments
 (0)