tools/check: update python version check

Python 2.3 is the minimal version according to the README.
Adjust check script.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
Olaf Hering committed 2011-10-07 14:32:36 +01:00
1 parent 834f076e77
commit 1a5a01c7ae
1 file changed
+2 -2
+2 -2
View File
@@ -9,5 +9,5 @@ fi
${PYTHON} -c '
import sys
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 2)
' || fail "need python version >= 2.2"
sys.exit(sys.version_info[0] < 2 or sys.version_info[1] < 3)
' || fail "need python version >= 2.3"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.