GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

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