mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Remove debugging short circuit
Circumventing this exception was only added for debugging purposes.
This commit is contained in:
@@ -15,7 +15,6 @@ class JSONModel():
|
|||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
if attr in self.ALLOWED_PROPERTIES:
|
if attr in self.ALLOWED_PROPERTIES:
|
||||||
return self._dict[attr]
|
return self._dict[attr]
|
||||||
return
|
|
||||||
raise AttributeError('`{}` is not a {} attribute'.format(
|
raise AttributeError('`{}` is not a {} attribute'.format(
|
||||||
attr,
|
attr,
|
||||||
self.__class__.__name__.lower(),
|
self.__class__.__name__.lower(),
|
||||||
|
|||||||
Reference in New Issue
Block a user