Added pylint workaround directive to quash rebellion.

This commit is contained in:
Austin Anderson 2015-06-03 08:42:13 -04:00
parent 5c599879f8
commit 4d141f489f

View File

@ -362,6 +362,8 @@ class DownloadItem(QObject):
Args:
position: The color type requested, can be 'fg' or 'bg'.
"""
# pylint: disable=bad-config-call
# WORKAROUND for https://bitbucket.org/logilab/astroid/issue/104/
assert position in ("fg", "bg")
start = config.get('colors', 'downloads.{}.start'.format(position))
stop = config.get('colors', 'downloads.{}.stop'.format(position))