mirror of https://github.com/Mikaela/Limnoria.git
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