buildframework/helium/tools/common/bin/CheckTools.java
branchfix
changeset 395 5ad27ebafc22
parent 179 d8ac696cc51f
--- a/buildframework/helium/tools/common/bin/CheckTools.java	Thu Mar 25 12:47:55 2010 +0000
+++ b/buildframework/helium/tools/common/bin/CheckTools.java	Thu Mar 25 14:10:11 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");