pylint: Remove unsubscriptable-object workaround.

https://bitbucket.org/logilab/pylint/issues/685/ was fixed in pylint 1.5.1.
This commit is contained in:
Florian Bruhin 2015-12-02 17:55:46 +01:00
parent cab6bf87b4
commit 7df01440a3

View File

@ -50,8 +50,7 @@ class Section:
Return: Return:
The value, as value class. The value, as value class.
""" """
# WORKAROUND for https://bitbucket.org/logilab/pylint/issues/685/ return self.values[key]
return self.values[key] # pylint: disable=unsubscriptable-object
def __iter__(self): def __iter__(self):
"""Iterate over all set values.""" """Iterate over all set values."""