Skip to contentSkip to conversation

update check_python to handle Python 2.5 RCs

PATCH New Charles Coffing 1 participant 1 message Sep 12, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update check_python to handle Python 2.5 RCs

Python 2.5 RCs are out now, and this confuses the check_python script.

Trivial patch attached to fix the script.

Thanks,
Chuck

tools/check/check_python +1 -1
Index: xen-unstable/tools/check/check_python
===================================================================
@@ -7,4 +7,4 @@ function error {
     exit 1
 }
 
-python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error
+python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || error

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel