Skip to content

Commit

Permalink
remember to strip whitespace after removing digits
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Jan 16, 2014
1 parent fbdc006 commit 74f1f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assignee_disambiguation.py
Expand Up @@ -63,7 +63,7 @@ def clean_assignees(list_of_assignees):
a_id = ' '.join(filter(lambda x:
x.lower() not in stoplist,
a_id.split(' ')))
a_id = ''.join(nodigits.findall(a_id))
a_id = ''.join(nodigits.findall(a_id)).strip()
id_map[a_id].append(assignee.uuid)
block.append(a_id)
print 'Assignees cleaned!'
Expand Down

0 comments on commit 74f1f21

Please sign in to comment.