fix: typo python version function

This commit is contained in:
adobdin 2016-04-08 07:05:15 +00:00
parent cac41658f8
commit 47005f49db

View File

@ -36,7 +36,7 @@ def import_subprocess():
logging.warning(("Please upgrade the module 'subprocess' to the latest version: "
"https://pypi.python.org/pypi/subprocess32/"))
ok_python = True
if sys.version > (2,7,0):
if sys.version_info > (2,7,0):
ok_python = False
logging.warning('this subprocess module does not support timeouts')
else: