From 2f4d9a1a4653ccdffc2bd3d4c976aeac77ab9cd8 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 12 Jun 2019 13:33:58 +0100 Subject: [PATCH] Remove debugging short circuit Circumventing this exception was only added for debugging purposes. --- app/models/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/__init__.py b/app/models/__init__.py index 2bf781eb8..29cc7ea63 100644 --- a/app/models/__init__.py +++ b/app/models/__init__.py @@ -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(),