Skip to content
Snippets Groups Projects
Commit 7f0cf693 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

parse return code without . at the end

parent 2dc4f813
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class JetPlatForm(PlatForm):
cmd = ['qsub',jobfile]
output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0] ; logging.info(output)
retcode = output.split()[-1]
retcode = output.split()[-1][0]
msg = 'Job completed with return code %s'%retcode ; logging.debug(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment