correct function call

This commit is contained in:
Clinton Roy 2019-09-03 14:24:56 +10:00 committed by Dylan Baker
parent 53830038ac
commit bba3ae5724
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ class CoreData:
return opt.validate_value(override_value)
except MesonException as e:
raise type(e)(('Validation failed for option %s: ' % option_name) + str(e)) \
.with_traceback(sys.exc_into()[2])
.with_traceback(sys.exc_info()[2])
else:
raise MesonException('Tried to validate unknown option %s.' % option_name)