This commit is contained in:
Florian Bruhin 2014-06-23 07:12:19 +02:00
parent 5996651a2f
commit 3443364de1
2 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ class Application(QApplication):
Args: Args:
Argument namespace from argparse. Argument namespace from argparse.
""" """
# pylint: disable=too-many-statements
qt_args = get_qt_args(args) qt_args = get_qt_args(args)
log.init.debug("Qt arguments: {}, based on {}".format(qt_args, args)) log.init.debug("Qt arguments: {}, based on {}".format(qt_args, args))
super().__init__(get_qt_args(args)) super().__init__(get_qt_args(args))

View File

@ -63,7 +63,7 @@ class SettingOptionCompletionModel(BaseCompletionModel):
for name, _ in sectdata.items(): for name, _ in sectdata.items():
try: try:
desc = sectdata.descriptions[name] desc = sectdata.descriptions[name]
except (KeyError, AttributeError) as e: except (KeyError, AttributeError):
# Some stuff (especially ValueList items) don't have a # Some stuff (especially ValueList items) don't have a
# description. # description.
desc = "" desc = ""