From 7df01440a31dbfdbccb872d31020352e123dc0d2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 2 Dec 2015 17:55:46 +0100 Subject: [PATCH] pylint: Remove unsubscriptable-object workaround. https://bitbucket.org/logilab/pylint/issues/685/ was fixed in pylint 1.5.1. --- qutebrowser/config/sections.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/config/sections.py b/qutebrowser/config/sections.py index f38603ccf..2a20b5b80 100644 --- a/qutebrowser/config/sections.py +++ b/qutebrowser/config/sections.py @@ -50,8 +50,7 @@ class Section: Return: The value, as value class. """ - # WORKAROUND for https://bitbucket.org/logilab/pylint/issues/685/ - return self.values[key] # pylint: disable=unsubscriptable-object + return self.values[key] def __iter__(self): """Iterate over all set values."""