Commit 18894e8d authored by Georgios Dagkakis's avatar Georgios Dagkakis

remove empty strings from skills

parent 58ceb80f
...@@ -26,6 +26,7 @@ class ReadSkilledOperators(plugin.InputPreparationPlugin): ...@@ -26,6 +26,7 @@ class ReadSkilledOperators(plugin.InputPreparationPlugin):
if not PBId: if not PBId:
continue continue
skills=PBitem[1].split(',') skills=PBitem[1].split(',')
skills = filter(bool, skills)
newSkills=[] newSkills=[]
for n_id,n in node.iteritems(): for n_id,n in node.iteritems():
technology=n.get('technology',None) technology=n.get('technology',None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment