[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools/check: update python version check



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1317994356 -3600
# Node ID b45b400d11d3f845adb94af3b59e33ee1770b317
# Parent  eb8637351535e9c76779d6dd78a1d5b4a434c082
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@xxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r eb8637351535 -r b45b400d11d3 tools/check/check_python
--- a/tools/check/check_python  Fri Oct 07 10:47:04 2011 +0100
+++ b/tools/check/check_python  Fri Oct 07 14:32:36 2011 +0100
@@ -9,5 +9,5 @@
 
 ${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"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.