From f63140354d73bc3b477cd26a2afadb5af541cfd4 Mon Sep 17 00:00:00 2001 From: David Read Date: Mon, 15 Feb 2016 12:28:46 +0000 Subject: [PATCH] Fix logic error in previous commit --- ckanext/harvest/harvesters/ckanharvester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/harvest/harvesters/ckanharvester.py b/ckanext/harvest/harvesters/ckanharvester.py index 405aa90..a1bd06a 100644 --- a/ckanext/harvest/harvesters/ckanharvester.py +++ b/ckanext/harvest/harvesters/ckanharvester.py @@ -205,7 +205,7 @@ class CKANHarvester(HarvesterBase): 'gave an error: %s', e) get_all_packages = True - if not get_all_packages and pkg_dicts: + if not get_all_packages and not pkg_dicts: log.info('No datasets have been updated on the remote ' 'CKAN instance since the last harvest job %s', last_time)