Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
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
Aerospace and Mechanical Engineering
linuxbin
Commits
9b93228f
Commit
9b93228f
authored
4 years ago
by
Yannick Crutzen
Browse files
Options
Downloads
Patches
Plain Diff
bug fix
parent
74442835
Branches
crutzen
Branches containing commit
Tags
v3038
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
comp.py
+2
-1
2 additions, 1 deletion
comp.py
with
2 additions
and
1 deletion
comp.py
+
2
−
1
View file @
9b93228f
...
...
@@ -207,7 +207,8 @@ class CompJob(ParametricJob):
# which python?
out
=
subprocess
.
check_output
([
self
.
pars
[
'
PYTHONEXE
'
].
val
,
'
-c
'
,
'
try:
'
import sys; print(sys.version_info.major)
'
])
try
:
pyver
=
int
(
out
)
except
:
self
.
error
(
'
unable to get python version number
'
)
...
...
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