Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
5375d2c5
Commit
5375d2c5
authored
12 years ago
by
Marcel Loose
Browse files
Options
Downloads
Patches
Plain Diff
Task #2699: vdsmaker doesn't need to set self.outputs['result'] anymore,
because the framework now sets self.outputs['returncode'].
parent
5cbc23c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CEP/Pipeline/recipes/sip/nodes/vdsmaker.py
+1
-2
1 addition, 2 deletions
CEP/Pipeline/recipes/sip/nodes/vdsmaker.py
with
1 addition
and
2 deletions
CEP/Pipeline/recipes/sip/nodes/vdsmaker.py
+
1
−
2
View file @
5375d2c5
...
@@ -33,8 +33,7 @@ class vdsmaker(LOFARnodeTCP):
...
@@ -33,8 +33,7 @@ class vdsmaker(LOFARnodeTCP):
if
not
os
.
access
(
executable
,
os
.
X_OK
):
if
not
os
.
access
(
executable
,
os
.
X_OK
):
raise
ExecutableMissing
(
executable
)
raise
ExecutableMissing
(
executable
)
cmd
=
[
executable
,
clusterdesc
,
infile
,
outfile
]
cmd
=
[
executable
,
clusterdesc
,
infile
,
outfile
]
result
=
catch_segfaults
(
cmd
,
None
,
None
,
self
.
logger
).
returncode
return
catch_segfaults
(
cmd
,
None
,
None
,
self
.
logger
).
returncode
self
.
outputs
[
"
result
"
]
=
result
except
ExecutableMissing
,
e
:
except
ExecutableMissing
,
e
:
self
.
logger
.
error
(
"
%s not found
"
%
(
e
.
args
[
0
]))
self
.
logger
.
error
(
"
%s not found
"
%
(
e
.
args
[
0
]))
return
1
return
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment