check_oar_status.py 93 Bytes
Newer Older
1 2 3 4 5 6 7
import sys
s=sys.argv[1]
p=s.find("(")
s=s[:p]
print(s)
exec(s.strip())
assert(exit_code==0)