From 94a38e40baa7120f94bc47c38227981d0d0f05c9 Mon Sep 17 00:00:00 2001 From: amercader Date: Thu, 28 Nov 2024 12:43:17 +0100 Subject: [PATCH] lint --- ckanext/harvest/logic/validators.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ckanext/harvest/logic/validators.py b/ckanext/harvest/logic/validators.py index 3f79b695..0ee1cf70 100644 --- a/ckanext/harvest/logic/validators.py +++ b/ckanext/harvest/logic/validators.py @@ -106,8 +106,6 @@ def harvest_source_url_validator(key, data, errors, context): raise Invalid('There already is a Harvest Source for this URL (& ' 'config): url=%s config=%s' % (new_url, new_config)) - #return data[key] - def harvest_source_type_exists(value, context): # TODO: use new description interface @@ -215,7 +213,6 @@ def harvest_source_extra_validator(key, data, errors, context): data[('extras',)] = package_extras - def harvest_source_convert_from_config(key, data, errors, context): config = data[key] if config: