diff options
author | Michael <michaelbrockus@gmail.com> | 2020-04-18 23:11:16 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-21 00:16:21 +0300 |
commit | c53b6379597be5961b4e69e7f187608452874e4c (patch) | |
tree | eade9c7e52c6940a236f595a728a638ad008f9cf /mesonbuild/mesonmain.py | |
parent | 182f40d25add336531b4127e410af8bcbe067575 (diff) | |
download | meson-c53b6379597be5961b4e69e7f187608452874e4c.zip meson-c53b6379597be5961b4e69e7f187608452874e4c.tar.gz meson-c53b6379597be5961b4e69e7f187608452874e4c.tar.bz2 |
switch python2 %s for python3 .format
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r-- | mesonbuild/mesonmain.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |