diff --git a/ckanext/odsh/collection/helpers.py b/ckanext/odsh/collection/helpers.py index 7d311d086f0be19c0f247a73c7aea809431f79c7..2496d6eb472f9c86187913c3d97cf32f936032dc 100644 --- a/ckanext/odsh/collection/helpers.py +++ b/ckanext/odsh/collection/helpers.py @@ -1,12 +1,16 @@ from string import lower from operator import itemgetter +import logging import ckan.lib.helpers as helpers import ckan.model as model import ckan.plugins.toolkit as toolkit +log = logging.getLogger(__name__) + def get_collection(dataset_dict): + log.debug('start of get_collection') collection_id = get_collection_id(dataset_dict) if collection_id: return get_collection_info(collection_id, dataset_dict)