aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-05-21 00:19:31 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2018-05-21 00:19:31 +0200
commit10e7566ed84251dcec6ee4ff3cc721e38fb90457 (patch)
tree5e5bf0834cc25ac85038e07ae5d63f0d6bfe07ba /mesonbuild
parentf59d7bafd24c2ff2c96600b471704d825e7c1a7d (diff)
downloadmeson-10e7566ed84251dcec6ee4ff3cc721e38fb90457.zip
meson-10e7566ed84251dcec6ee4ff3cc721e38fb90457.tar.gz
meson-10e7566ed84251dcec6ee4ff3cc721e38fb90457.tar.bz2
dict: fix CI issues
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreterbase.py2
-rw-r--r--mesonbuild/mparser.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase.py b/mesonbuild/interpreterbase.py
index 6a979d1..9f323d1 100644
--- a/mesonbuild/interpreterbase.py
+++ b/mesonbuild/interpreterbase.py
@@ -300,7 +300,7 @@ class InterpreterBase:
def evaluate_dictstatement(self, cur):
(arguments, kwargs) = self.reduce_arguments(cur.args)
- assert (not arguments, 'parser bug, arguments should be empty')
+ assert (not arguments)
return kwargs
def evaluate_notstatement(self, cur):
diff --git a/mesonbuild/mparser.py b/mesonbuild/mparser.py
index 18ee701..78683be 100644
--- a/mesonbuild/mparser.py
+++ b/mesonbuild/mparser.py
@@ -657,7 +657,7 @@ class Parser:
a.commas.append(potential)
else:
raise ParseException('Only key:value pairs are valid in dict construction.',
- self.getline(), s.lineno, s.colno)
+ self.getline(), s.lineno, s.colno)
s = self.statement()
return a