Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
18894e8d
Commit
18894e8d
authored
May 18, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove empty strings from skills
parent
58ceb80f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dream/plugins/Batches/ReadSkilledOperators.py
dream/plugins/Batches/ReadSkilledOperators.py
+1
-0
No files found.
dream/plugins/Batches/ReadSkilledOperators.py
View file @
18894e8d
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment