mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-20 09:04:36 +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()
|
return self._getCurrentData()
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
return getattr(self, 'default') # For PyChecker.
|
return self.default
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
raise KeyError, key
|
raise KeyError, key
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user