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/mesonmain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/mesonmain.py') diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index b6b11df..fc9d6a6 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -182,7 +182,7 @@ def ensure_stdout_accepts_unicode(): def run(original_args, mainfile): if sys.version_info < (3, 5): print('Meson works correctly only with python 3.5+.') - print('You have python %s.' % sys.version) + print('You have python {}.'.format(sys.version)) print('Please update your environment') return 1 -- cgit v1.1