Skip to content
Snippets Groups Projects
Commit 7e0ec68b authored by Benjamin Becker's avatar Benjamin Becker
Browse files

moves log.debug message

parent b02ee426
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ 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)
......@@ -19,6 +18,7 @@ def get_collection(dataset_dict):
def get_collection_info(collection_id, dataset_dict=None):
log.debug('get_collection_info, collection_id: {}'.format(collection_id))
collection_dict = get_package_dict(collection_id)
dataset_names = get_dataset_names(collection_dict)
datasets_in_collection = get_datasets_from_solr(dataset_names)
......@@ -68,7 +68,6 @@ def get_datasets_from_solr(dataset_names):
def gather_collection_info(collection_dict, datasets_in_collection, dataset_dict=None):
url_from_id = lambda id: helpers.url_for(controller='package', action='read', id=id)
name_first_dataset = datasets_in_collection[0].get('name')
url_first_dataset = url_from_id(name_first_dataset)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment