Skip to content

Commit

Permalink
Fix iterating through datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Jovanov committed Oct 17, 2017
1 parent c498a96 commit e226dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/tayside/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
)
Expand Down

0 comments on commit e226dbd

Please sign in to comment.