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:
Jeroen Van Goey 2013-12-09 00:32:19 +01:00
parent fb98cd0fc8
commit 90b0d4c640
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ import os
import sys
if sys.platform == 'darwin':
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)
logger.critical(msg)
msg = "You should use python 2.7.5 or greater. Your version: %s", "{0}.{1}.{2}".format(*sys.version_info)
logger.critical(msg)
print msg
sys.exit(0)