pylint: Remove unsubscriptable-object workaround.
https://bitbucket.org/logilab/pylint/issues/685/ was fixed in pylint 1.5.1.
This commit is contained in:
parent
cab6bf87b4
commit
7df01440a3
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user