From c53b6379597be5961b4e69e7f187608452874e4c Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 18 Apr 2020 23:11:16 -0700 Subject: switch python2 %s for python3 .format --- mesonbuild/modules/sourceset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules/sourceset.py') diff --git a/mesonbuild/modules/sourceset.py b/mesonbuild/modules/sourceset.py index a14bd70..e23e12e 100644 --- a/mesonbuild/modules/sourceset.py +++ b/mesonbuild/modules/sourceset.py @@ -150,7 +150,7 @@ class SourceSetHolder(MutableInterpreterObject, ObjectHolder): if isinstance(config_data, dict): def _get_from_config_data(key): if strict and key not in config_data: - raise InterpreterException('Entry %s not in configuration dictionary.' % key) + raise InterpreterException('Entry {} not in configuration dictionary.'.format(key)) return config_data.get(key, False) else: config_cache = dict() -- cgit v1.1