Py3: Use cStringIO from six.moves

This commit is contained in:
Shadab Zafar 2016-05-28 10:26:12 +05:30 committed by Maximilian Hils
parent 3a9e03ea1e
commit b71ef054b5

View File

@ -1,10 +1,10 @@
import StringIO
from pathod import log from pathod import log
from netlib.exceptions import TcpDisconnect 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): def start_log(self, *args, **kwargs):
pass pass