missing change

This commit is contained in:
Thomas Nagy 2013-11-08 22:46:51 +01:00
parent dcd6184d3f
commit 8571c15a1b
1 changed files with 1 additions and 1 deletions

View File

@ -1152,7 +1152,7 @@ def get_suncc_version(conf, cc):
cmd = cc + ['-V']
try:
out, err = conf.cmd_and_log(cmd, output=0)
except Errors.WafError:
except Errors.WafError as e:
# Older versions of the compiler exit with non-zero status when reporting their version
if not (hasattr(e, 'returncode') and hasattr(e, 'stdout') and hasattr(e, 'stderr')):
conf.fatal('Could not find suncc %r' % cmd)