From 3fd7b58107181b1ff25323b873afdee50cd4d1bc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 16 Feb 2019 19:50:02 +0100 Subject: [PATCH] Fix pylint on CI For some reason, we get an error here on Travis but not locally. This happens even with the same Python/pylint/astroid versions... --- qutebrowser/browser/webkit/network/networkreply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/webkit/network/networkreply.py b/qutebrowser/browser/webkit/network/networkreply.py index c56fe2a9b..a9d27186f 100644 --- a/qutebrowser/browser/webkit/network/networkreply.py +++ b/qutebrowser/browser/webkit/network/networkreply.py @@ -34,8 +34,8 @@ class FixedDataNetworkReply(QNetworkReply): """QNetworkReply subclass for fixed data.""" - def __init__(self, request, fileData, mimeType, # noqa: N803 - parent=None): + def __init__(self, request, # noqa: N803 pylint: disable=invalid-name + fileData, mimeType, parent=None): """Constructor. Args: