--- a/buildframework/helium/tools/common/bin/CheckTools.java Tue Mar 16 17:16:51 2010 +0000
+++ b/buildframework/helium/tools/common/bin/CheckTools.java Thu Mar 18 15:06:42 2010 +0000
@@ -28,10 +28,11 @@
Process toolProcess = runtime.exec("python -V");
InputStream err = toolProcess.getErrorStream();
- if (!(toString(err).trim().startsWith("Python 2.5")))
+ String output = toString(err).trim();
+ if (!(output.startsWith("Python 2.5")) && !(output.startsWith("Python 2.6")))
{
- System.out.println("Error: Python 2.5 not found");
- System.out.println(err);
+ System.out.println("Error: Python 2.5/2.6 not found");
+ System.out.println(output);
}
toolProcess = runtime.exec("java -version");