Skip to content

Commit

Permalink
Simple fix to how the python version is tested.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoyon committed Feb 20, 2006
1 parent b246133 commit d34d818
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ if 'python' in env['BINDINGS']:

majver, minver = env['PYTHON_VERSION'].split('.')

if int(majver) > 1:
if int(minver) < 3:
print "Python version 2.2 or greater required"
Exit(1)
else:
if (int(majver), int(minver)) < (2, 2):
print "Python version 2.2 or greater required"
Exit(1)

Expand Down

0 comments on commit d34d818

Please sign in to comment.