Skip to content
Snippets Groups Projects
Commit 4992cc61 authored by Papeleux Luc's avatar Papeleux Luc
Browse files

Merge remote-tracking branch 'origin/master' into papeleux

parents e4817f32 9b93228f
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,8 @@ class CompJob(ParametricJob): ...@@ -207,7 +207,8 @@ class CompJob(ParametricJob):
# which python? # which python?
out = subprocess.check_output([self.pars['PYTHONEXE'].val, '-c', out = subprocess.check_output([self.pars['PYTHONEXE'].val, '-c',
' try: 'import sys; print(sys.version_info.major)'])
try:
pyver = int(out) pyver = int(out)
except: except:
self.error('unable to get python version number') 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