Merge branch '99-all-non-ascii-tags' of https://github.com/morty/ckanext-harvest into morty-99-all-non-ascii-tags

This commit is contained in:
amercader 2014-08-29 14:40:43 +01:00
commit 8cf254f112
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class HarvesterBase(SingletonPlugin):
if self.config and self.config.get('clean_tags', False):
tags = package_dict.get('tags', [])
tags = [munge_tag(t) for t in tags]
tags = [munge_tag(t) for t in tags if munge_tag(t) != '']
tags = list(set(tags))
package_dict['tags'] = tags