Simple fix to how the python version is tested.
This commit is contained in:
parent
b246133a2b
commit
d34d818626
1 changed files with 1 additions and 5 deletions
|
@ -113,11 +113,7 @@ if 'python' in env['BINDINGS']:
|
||||||
|
|
||||||
majver, minver = env['PYTHON_VERSION'].split('.')
|
majver, minver = env['PYTHON_VERSION'].split('.')
|
||||||
|
|
||||||
if int(majver) > 1:
|
if (int(majver), int(minver)) < (2, 2):
|
||||||
if int(minver) < 3:
|
|
||||||
print "Python version 2.2 or greater required"
|
|
||||||
Exit(1)
|
|
||||||
else:
|
|
||||||
print "Python version 2.2 or greater required"
|
print "Python version 2.2 or greater required"
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue