mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Py3: Use cStringIO from six.moves
This commit is contained in:
parent
3a9e03ea1e
commit
b71ef054b5
@ -1,10 +1,10 @@
|
||||
import StringIO
|
||||
from pathod import log
|
||||
from netlib.exceptions import TcpDisconnect
|
||||
import netlib.tcp
|
||||
|
||||
from six.moves import cStringIO
|
||||
|
||||
|
||||
class DummyIO(StringIO.StringIO):
|
||||
class DummyIO(cStringIO):
|
||||
|
||||
def start_log(self, *args, **kwargs):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user