Commit aa20dcdb authored by Manuel Günther's avatar Manuel Günther

'jman refresh' now also ignores 'INFO' messages (as generated from the SGE)...

'jman refresh' now also ignores 'INFO' messages (as generated from the SGE) when --ignore-warnings is enabled.
parent 35ce327e
......@@ -231,7 +231,7 @@ class Job:
is_error = False
f = open(name,'r')
for line in f:
is_error = is_error or (line and 'WARNING' not in line)
is_error = is_error or (line and 'WARNING' not in line and 'INFO' not in line)
return not is_error
except OSError, e:
logger.warn("Could not find error file '%s'" % name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment