mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05: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):
|
||||
if attr in self.ALLOWED_PROPERTIES:
|
||||
return self._dict[attr]
|
||||
return
|
||||
raise AttributeError('`{}` is not a {} attribute'.format(
|
||||
attr,
|
||||
self.__class__.__name__.lower(),
|
||||
|
||||
Reference in New Issue
Block a user