From 71bc6401314de73cfbc2667a0e24c87e1521d745 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 10 Jun 2014 17:01:00 +0200 Subject: [PATCH] Fix lint --- qutebrowser/browser/webpage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/webpage.py b/qutebrowser/browser/webpage.py index 25a72b64d..0ff2ebb01 100644 --- a/qutebrowser/browser/webpage.py +++ b/qutebrowser/browser/webpage.py @@ -67,7 +67,7 @@ class BrowserPage(QWebPage): """ ignored_errors = [ (QWebPage.QtNetwork, QNetworkReply.OperationCanceledError), - (QWebPage.WebKit, 203), # "Loading is handled by the media engine" + (QWebPage.WebKit, 203), # "Loading is handled by the media engine" ] info = sip.cast(opt, QWebPage.ErrorPageExtensionOption) errpage = sip.cast(out, QWebPage.ErrorPageExtensionReturn) @@ -190,5 +190,5 @@ class BrowserPage(QWebPage): answer = message.modular_question("Interrupt long-running javascript?", PromptMode.yesno) if answer is None: - answer == True + answer = True return answer