remove duplicate code
There was twice a check for the Python version on OSX, but the logging in the second check was never reached
This commit is contained in:
parent
fb98cd0fc8
commit
90b0d4c640
|
@ -20,8 +20,8 @@ import os
|
||||||
import sys
|
import sys
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
if float("{1}.{2}".format(*sys.version_info)) < 7.5:
|
if float("{1}.{2}".format(*sys.version_info)) < 7.5:
|
||||||
msg = "You should use python 2.7.5 or greater. Your version: %s", "{0}.{1}.{2}".format(*sys.version_info)
|
msg = "You should use python 2.7.5 or greater. Your version: %s", "{0}.{1}.{2}".format(*sys.version_info)
|
||||||
logger.critical(msg)
|
logger.critical(msg)
|
||||||
print msg
|
print msg
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user