buildframework/helium/tools/common/bin/CheckTools.java
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
--- a/buildframework/helium/tools/common/bin/CheckTools.java	Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/tools/common/bin/CheckTools.java	Wed Dec 23 19:29:07 2009 +0200
@@ -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");