Remove debugging short circuit

Circumventing this exception was only added for debugging purposes.
This commit is contained in:
Chris Hill-Scott
2019-06-12 13:33:58 +01:00
committed by GitHub
parent cb63d44c08
commit 2f4d9a1a46

View File

@@ -15,7 +15,6 @@ class JSONModel():
def __getattr__(self, attr):
if attr in self.ALLOWED_PROPERTIES:
return self._dict[attr]
return
raise AttributeError('`{}` is not a {} attribute'.format(
attr,
self.__class__.__name__.lower(),