From be844cf21dc0d89ec62f3387b22aad2eaa95a79a Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 19 Feb 2013 11:51:22 +0000 Subject: [PATCH] Remove unnecessary extra quotes (see #381 on CKAN core) --- ckanext/harvest/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/harvest/plugin.py b/ckanext/harvest/plugin.py index ac5dd05..da88fd4 100644 --- a/ckanext/harvest/plugin.py +++ b/ckanext/harvest/plugin.py @@ -50,7 +50,7 @@ class Harvest(p.SingletonPlugin, DefaultDatasetForm): data_dict['extras'] = [] data_dict['extras'].append({ - 'key': key, 'value': '"{0}"'.format(value), 'state': u'active' + 'key': key, 'value': value, 'state': u'active' }) if 'type' in data_dict and data_dict['type'] == DATASET_TYPE_NAME: