From: <nr...@us...> - 2008-08-01 22:28:37
|
Revision: 5047 http://jython.svn.sourceforge.net/jython/?rev=5047&view=rev Author: nriley Date: 2008-08-01 22:28:33 +0000 (Fri, 01 Aug 2008) Log Message: ----------- Read python.executable from whole registry, not just top level. Modified Paths: -------------- branches/asm/src/org/python/core/PySystemState.java Modified: branches/asm/src/org/python/core/PySystemState.java =================================================================== --- branches/asm/src/org/python/core/PySystemState.java 2008-08-01 21:49:29 UTC (rev 5046) +++ branches/asm/src/org/python/core/PySystemState.java 2008-08-01 22:28:33 UTC (rev 5047) @@ -636,7 +636,7 @@ * @return a PyObject path string or Py.None */ private static PyObject initExecutable(Properties props) { - String executable = (String)props.get("python.executable"); + String executable = props.getProperty("python.executable"); if (executable == null) { return Py.None; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |