From: <nr...@us...> - 2008-08-29 20:41:43
|
Revision: 5270 http://jython.svn.sourceforge.net/jython/?rev=5270&view=rev Author: nriley Date: 2008-08-29 20:41:41 +0000 (Fri, 29 Aug 2008) Log Message: ----------- Revert stubbed out bit from r5210. Modified Paths: -------------- trunk/jython/src/org/python/util/jython.java Modified: trunk/jython/src/org/python/util/jython.java =================================================================== --- trunk/jython/src/org/python/util/jython.java 2008-08-29 19:58:06 UTC (rev 5269) +++ trunk/jython/src/org/python/util/jython.java 2008-08-29 20:41:41 UTC (rev 5270) @@ -212,7 +212,7 @@ } catch (java.io.FileNotFoundException e) { throw Py.IOError(e); } - if (false) {//(imp.load("os").__getattr__("isatty").__call__(Py.java2py(file.getFD())).__nonzero__()) { + if (imp.load("os").__getattr__("isatty").__call__(Py.java2py(file.getFD())).__nonzero__()) { opts.interactive = true; interp.interact(null, new PyFile(file)); System.exit(0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |