fix python version check
This commit is contained in:
parent
21ab52c62b
commit
77f74a0668
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ import logging
|
||||||
|
|
||||||
def check_python():
|
def check_python():
|
||||||
info = sys.version_info
|
info = sys.version_info
|
||||||
if not (info.major == 2 and info.minor >= 6):
|
if not (info[0] == 2 and info[1] >= 6):
|
||||||
print 'Python 2.6 or 2.7 required'
|
print 'Python 2.6 or 2.7 required'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue