Commit 8c2109a8 authored by Zixian Cai's avatar Zixian Cai

Fix useless exception messages

parent 21469c76
......@@ -67,8 +67,8 @@ class RPython(Language):
# check Mu impl environment variable
if lc['backend'] == 'mu':
v = 'MU_%s' % (lc['impl'].upper())
assert v in env, '%s needs to be defined in environ.'
v = 'MU_{}'.format(lc['impl'].upper())
assert v in env, '{} needs to be defined in environ.'.format(v)
# target configuration arguments
cc['args'] = list(map(lambda a: expandenv(str(a), task.env), cc.get('args', [])))
......
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