diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-30 10:57:23 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-02 14:56:23 -0700 |
commit | 604b2534e8516e5ddade6d2d2514b3078275d711 (patch) | |
tree | bfb12ea4134b93f801b99a9349ef08bdc8ae06f7 | |
parent | da5f07cf39b6ab9b67676f843e16a0e6caeb69a4 (diff) | |
download | meson-604b2534e8516e5ddade6d2d2514b3078275d711.zip meson-604b2534e8516e5ddade6d2d2514b3078275d711.tar.gz meson-604b2534e8516e5ddade6d2d2514b3078275d711.tar.bz2 |
environment: Fix syntax error
-rw-r--r-- | mesonbuild/environment.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index aed1a5a..dcae729 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1055,8 +1055,9 @@ class Environment: # up to date language version at time (2016). if exelist is not None: if os.path.basename(exelist[-1]).startswith(('ldmd', 'gdmd')): - raise EnvironmentException('Meson does not support {} as it is only a DMD frontend for another compiler.'.format(exelist[-1]) - 'Please provide a valid value for DC or unset it so that Meson can resolve the compiler by itself.') + raise EnvironmentException( + 'Meson does not support {} as it is only a DMD frontend for another compiler.' + 'Please provide a valid value for DC or unset it so that Meson can resolve the compiler by itself.'.format(exelist[-1])) else: for d in self.default_d: if shutil.which(d): |