mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Cleanup for PyChecker.
This commit is contained in:
parent
759f38f8e0
commit
234d4d8ef9
@ -257,7 +257,7 @@ class Reader(utils.IterableMap):
|
||||
return self._getCurrentData()
|
||||
else:
|
||||
try:
|
||||
return getattr(self, 'default') # For PyChecker.
|
||||
return self.default
|
||||
except AttributeError:
|
||||
raise KeyError, key
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user