

def clean_tags(self):
    project_tags_list = self.cleaned_data['tags']
    tags = (list(set([tag.strip() for tag in project_tags_list.split(',')])) or [])
    for i in tags:
        if (not i.strip()):
            tags.remove(i)
    tags.append('')
    project_tags_list = ', '.join(tags)
    return project_tags_list

dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/projects/forms.py ProjectForm.clean_tags/original