diff --git a/ckanext/datapusher/helpers.py b/ckanext/datapusher/helpers.py index 11519e2e3ef..535e6d57635 100644 --- a/ckanext/datapusher/helpers.py +++ b/ckanext/datapusher/helpers.py @@ -10,6 +10,7 @@ def datapusher_status(resource_id): 'status': 'unknown' } + def datapusher_status_description(status): _ = toolkit._ diff --git a/ckanext/datapusher/plugin.py b/ckanext/datapusher/plugin.py index 08b9a355f3e..50c9cd864f5 100644 --- a/ckanext/datapusher/plugin.py +++ b/ckanext/datapusher/plugin.py @@ -129,5 +129,6 @@ def get_auth_functions(self): def get_helpers(self): return { 'datapusher_status': helpers.datapusher_status, - 'datapusher_status_description': helpers.datapusher_status_description, + 'datapusher_status_description': + helpers.datapusher_status_description, }