Merge pull request #3011 from alphagov/quis-patch-1

Remove debugging short circuit
This commit is contained in:
Chris Hill-Scott
2019-06-13 17:01:12 +01:00
committed by GitHub

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(),