Skip to content

Commit

Permalink
[xs] tidy up: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
johnglover committed Mar 7, 2012
1 parent 8c19d95 commit a6aca28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ckan/logic/validators.py
Expand Up @@ -273,12 +273,6 @@ def tag_string_convert(key, data, errors, context):
and parses tag names. These are added to the data dict, enumerated. They
are also validated.'''

tag_string = data[key]

tags = [tag.strip() \
for tag in tag_string.split(',') \
if tag.strip()]

if isinstance(data[key], basestring):
tags = [tag.strip() \
for tag in data[key].split(',') \
Expand Down

0 comments on commit a6aca28

Please sign in to comment.