From 88ffbf9a2e4267c428277b51992106bc649b05b2 Mon Sep 17 00:00:00 2001 From: Catalin Date: Tue, 27 Aug 2024 19:05:44 +0300 Subject: [PATCH] HDX-9987 & HDX-9990 rename logic files --- ...ct_contributor.py => dataset_contact_contributor_logic.py} | 0 ...aset_request_access.py => dataset_request_access_logic.py} | 0 ckanext-hdx_package/ckanext/hdx_package/views/dataset.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename ckanext-hdx_package/ckanext/hdx_package/controller_logic/{dataset_contact_contributor.py => dataset_contact_contributor_logic.py} (100%) rename ckanext-hdx_package/ckanext/hdx_package/controller_logic/{dataset_request_access.py => dataset_request_access_logic.py} (100%) diff --git a/ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_contact_contributor.py b/ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_contact_contributor_logic.py similarity index 100% rename from ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_contact_contributor.py rename to ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_contact_contributor_logic.py diff --git a/ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_request_access.py b/ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_request_access_logic.py similarity index 100% rename from ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_request_access.py rename to ckanext-hdx_package/ckanext/hdx_package/controller_logic/dataset_request_access_logic.py diff --git a/ckanext-hdx_package/ckanext/hdx_package/views/dataset.py b/ckanext-hdx_package/ckanext/hdx_package/views/dataset.py index b33a592174..00d66b89ca 100644 --- a/ckanext-hdx_package/ckanext/hdx_package/views/dataset.py +++ b/ckanext-hdx_package/ckanext/hdx_package/views/dataset.py @@ -24,8 +24,8 @@ import ckanext.hdx_package.helpers.membership_data as membership_data import ckanext.hdx_search.helpers.search_history as search_history import ckanext.hdx_package.controller_logic.dataset_view_logic as dataset_view_logic -from ckanext.hdx_package.controller_logic.dataset_contact_contributor import DatasetContactContributorLogic -from ckanext.hdx_package.controller_logic.dataset_request_access import DatasetRequestAccessLogic +from ckanext.hdx_package.controller_logic.dataset_contact_contributor_logic import DatasetContactContributorLogic +from ckanext.hdx_package.controller_logic.dataset_request_access_logic import DatasetRequestAccessLogic from ckan.views.dataset import _setup_template_variables