From 3443364de12a14f35b402e824fe71105c5d9e9fb Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 23 Jun 2014 07:12:19 +0200 Subject: [PATCH] Fix lint --- qutebrowser/app.py | 1 + qutebrowser/models/completion.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 8250393fd..d221ecc31 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -98,6 +98,7 @@ class Application(QApplication): Args: Argument namespace from argparse. """ + # pylint: disable=too-many-statements qt_args = get_qt_args(args) log.init.debug("Qt arguments: {}, based on {}".format(qt_args, args)) super().__init__(get_qt_args(args)) diff --git a/qutebrowser/models/completion.py b/qutebrowser/models/completion.py index 95ec7aa5d..b19b35430 100644 --- a/qutebrowser/models/completion.py +++ b/qutebrowser/models/completion.py @@ -63,7 +63,7 @@ class SettingOptionCompletionModel(BaseCompletionModel): for name, _ in sectdata.items(): try: desc = sectdata.descriptions[name] - except (KeyError, AttributeError) as e: + except (KeyError, AttributeError): # Some stuff (especially ValueList items) don't have a # description. desc = ""