From c757b8a6c3de338091a2e168d0a1186a80fa5c4e Mon Sep 17 00:00:00 2001 From: Alessio Fabrizio Date: Tue, 15 Oct 2024 16:51:14 +0200 Subject: [PATCH] move exceptions --- ckanext/d4science/views_routes/organization.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckanext/d4science/views_routes/organization.py b/ckanext/d4science/views_routes/organization.py index 0c1266b..0c5b94a 100644 --- a/ckanext/d4science/views_routes/organization.py +++ b/ckanext/d4science/views_routes/organization.py @@ -7,8 +7,9 @@ import ckan.logic as logic import ckan.model as model import ckan.lib.helpers as h import ckan.lib.search as search -from ckan.common import _, NotAuthorized, NotFound +from ckan.common import _ from collections import OrderedDict +from ckan.logic import NotAuthorized, NotFound organization_vre = Blueprint("organization_vre", __name__)