From 2dbf8f4ea4992ca33c272786f860d7fc291ba89b Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 11 Jul 2018 18:49:27 +0200 Subject: meson: Add a "python" option to make the python to build against configurable This allows us to build with Python 2 and run tests with it. This requires the new "python" meson module which was added in 0.46.0 so bump the required meson version (glib needs a newer one anyway). Also fixes a small test error under Python 2. --- giscanner/introspectablepass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'giscanner/introspectablepass.py') diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 19d1388f..072494bd 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -84,7 +84,7 @@ class IntrospectablePass(object): if not node.type.resolved: self._parameter_warning(parent, node, - "Unresolved type: %r" % (node.type.unresolved_string, )) + "Unresolved type: '%s'" % (node.type.unresolved_string, )) parent.introspectable = False return -- cgit v1.2.1