From 64c74bde904a1e1ba39aaf4108d62e1a3a06ee5d Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 23 Sep 2015 17:18:26 +0200 Subject: [PATCH] Fix pylint for _NoCloseBytesIO --- qutebrowser/misc/mhtml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/misc/mhtml.py b/qutebrowser/misc/mhtml.py index 01f8f5cc9..6661fb1ad 100644 --- a/qutebrowser/misc/mhtml.py +++ b/qutebrowser/misc/mhtml.py @@ -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. """