From 8f2ad910862265b84a060010c64afe6f9bad73c2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 16 Sep 2014 07:34:07 +0200 Subject: [PATCH] Fix lint --- qutebrowser/network/qutescheme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/network/qutescheme.py b/qutebrowser/network/qutescheme.py index c5a5d1118..723f2e7a6 100644 --- a/qutebrowser/network/qutescheme.py +++ b/qutebrowser/network/qutescheme.py @@ -73,7 +73,7 @@ class QuteSchemeHandler(schemehandler.SchemeHandler): data = handler() return schemehandler.SpecialNetworkReply( request, data, 'text/html', self.parent()) - except BaseException as e: + except: # pylint: disable=bare-except # WORKAROUND # Any exception raised in here will trigger a segfault. # To prevent this, we return a page with the exception info.