diff --git a/ckanext/tayside/commands.py b/ckanext/tayside/commands.py index 40bb1ff..458e3b5 100644 --- a/ckanext/tayside/commands.py +++ b/ckanext/tayside/commands.py @@ -172,7 +172,7 @@ def _check_outdated_datasets(self): current_time = datetime.date.today().strftime('%Y-%m-%dT%H:%M:%S.%f') outdated_datasets = [] - for dataset in datasets.get('results')[0:10]: + for dataset in datasets.get('results'): pkg = toolkit.get_action('package_show')( {'ignore_auth': True}, {'id': dataset.get('id')} )