Skip to content
Snippets Groups Projects
Commit 9b93228f authored by Yannick Crutzen's avatar Yannick Crutzen
Browse files

bug fix

parent 74442835
Branches crutzen
Tags v3038
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment