From: <fwi...@us...> - 2008-10-16 21:16:03
|
Revision: 5447 http://jython.svn.sourceforge.net/jython/?rev=5447&view=rev Author: fwierzbicki Date: 2008-10-16 21:15:59 +0000 (Thu, 16 Oct 2008) Log Message: ----------- put in null guard for cflags call. cflags can definitely be null at this point in the code. Modified Paths: -------------- trunk/jython/src/org/python/core/Py.java Modified: trunk/jython/src/org/python/core/Py.java =================================================================== --- trunk/jython/src/org/python/core/Py.java 2008-10-16 20:59:53 UTC (rev 5446) +++ trunk/jython/src/org/python/core/Py.java 2008-10-16 21:15:59 UTC (rev 5447) @@ -1697,7 +1697,7 @@ } byte[] bytes; - if (cflags.dont_imply_dedent) { + if (cflags != null && cflags.dont_imply_dedent) { bytes = StringUtil.toBytes(data + "\n"); } else { bytes = StringUtil.toBytes(data + "\n\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |