From f0b0c1edfaa2a35917fa19f0d4687e9507d338b9 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 31 Oct 2014 18:45:21 +0800 Subject: [PATCH] update python requirement --- shadowsocks/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shadowsocks/utils.py b/shadowsocks/utils.py index 3edcae9..b54a21b 100644 --- a/shadowsocks/utils.py +++ b/shadowsocks/utils.py @@ -36,9 +36,9 @@ VERBOSE_LEVEL = 5 def check_python(): info = sys.version_info - # if not (info[0] == 2 and info[1] >= 6): - # print('Python 2.6 or 2.7 required') - # sys.exit(1) + if info[0] == 2 and not info[1] >= 6: + print('Python 2.6+ required') + sys.exit(1) def print_shadowsocks():