Fix pylint for _NoCloseBytesIO

This commit is contained in:
Daniel 2015-09-23 17:18:26 +02:00
parent 05cc4b9650
commit 64c74bde90

View File

@ -391,11 +391,11 @@ class _Downloader(object):
self.finished(url, item)
class _NoCloseBytesIO(io.BytesIO):
class _NoCloseBytesIO(io.BytesIO): # pylint: disable=no-init
"""BytesIO that can't be .closed()
"""BytesIO that can't be .closed().
This is needed to prevent the downloadmanager from closing the stream, thus
This is needed to prevent the DownloadManager from closing the stream, thus
discarding the data.
"""