aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index eb1cf74..19706c5 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -443,7 +443,7 @@ class DmdLikeCompilerMixin(CompilerMixinBase):
if crt_val in self.mscrt_args:
return self.mscrt_args[crt_val]
- assert(crt_val in ['from_buildtype', 'static_from_buildtype'])
+ assert crt_val in ['from_buildtype', 'static_from_buildtype']
dbg = 'mdd'
rel = 'md'
@@ -463,7 +463,7 @@ class DmdLikeCompilerMixin(CompilerMixinBase):
elif buildtype == 'minsize':
return self.mscrt_args[rel]
else:
- assert(buildtype == 'custom')
+ assert buildtype == 'custom'
raise EnvironmentException('Requested C runtime based on buildtype, but buildtype is "custom".')
def get_soname_args(self, env: 'Environment', prefix: str, shlib_name: str,