remove duplicate code #588

Merged
BioGeek merged 2 commits from patch-1 into master 2013-12-30 00:35:11 +01:00
Showing only changes of commit 90b0d4c640 - Show all commits

View File

@ -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)