mirror of https://gitlab.com/ita1024/waf.git
Fix the Python version detection message #1760
This commit is contained in:
parent
7acb027961
commit
9be51b5cf8
|
@ -515,7 +515,7 @@ def check_python_version(conf, minver=None):
|
|||
conf.msg('Checking for python version', pyver_full)
|
||||
else:
|
||||
minver_str = '.'.join(map(str, minver))
|
||||
conf.msg('Checking for python version', pyver_tuple, ">= %s" % (minver_str,) and 'GREEN' or 'YELLOW')
|
||||
conf.msg('Checking for python version >= %s' % (minver_str,), pyver_full, color=result and 'GREEN' or 'YELLOW')
|
||||
|
||||
if not result:
|
||||
conf.fatal('The python version is too old, expecting %r' % (minver,))
|
||||
|
|
Loading…
Reference in New Issue